mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-27 14:58:46 +00:00
use UBSAN for make test
in CI (#4763)
* use UBSAN for make test in CI * none of the non-x86 Linux combinations works
This commit is contained in:
parent
635a924e8c
commit
7892aaf08b
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -99,9 +99,9 @@ jobs:
|
||||
fi
|
||||
echo "PLATFORM=$PLATFORM" >> $GITHUB_ENV
|
||||
|
||||
# Stack usage test on recent enough gcc:
|
||||
# Stack usage test and UBSAN on recent enough gcc:
|
||||
if [[ '${{ runner.os }}' == 'Linux' && '${{ matrix.target.cpu }}' == 'amd64' ]]; then
|
||||
export NIMFLAGS="${NIMFLAGS} -d:limitStackUsage"
|
||||
export NIMFLAGS="${NIMFLAGS} -d:limitStackUsage --passC:-fsanitize=undefined --passL:-fsanitize=undefined"
|
||||
echo "NIMFLAGS=${NIMFLAGS}" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user