mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 05:52:45 +00:00
set WITH_UBSAN
correctly when running on GA (#5299)
GitHub actions script was not setting `WITH_UBSAN` correctly. Fix it.
This commit is contained in:
parent
4a84457376
commit
1fa3941aa5
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -106,7 +106,8 @@ jobs:
|
|||||||
# Stack usage test and UBSAN on recent enough gcc:
|
# Stack usage test and UBSAN on recent enough gcc:
|
||||||
if [[ '${{ runner.os }}' == 'Linux' && '${{ matrix.target.cpu }}' == 'amd64' ]]; then
|
if [[ '${{ runner.os }}' == 'Linux' && '${{ matrix.target.cpu }}' == 'amd64' ]]; then
|
||||||
if [[ '${{ github.sha }}' =~ ^7 ]]; then
|
if [[ '${{ github.sha }}' =~ ^7 ]]; then
|
||||||
export WITH_UBSAN=1 >> $GITHUB_ENV
|
export WITH_UBSAN=1
|
||||||
|
echo "WITH_UBSAN=1" >> $GITHUB_ENV
|
||||||
export NIMFLAGS="${NIMFLAGS} -d:limitStackUsage --passC:-fsanitize=undefined --passL:-fsanitize=undefined"
|
export NIMFLAGS="${NIMFLAGS} -d:limitStackUsage --passC:-fsanitize=undefined --passL:-fsanitize=undefined"
|
||||||
else
|
else
|
||||||
export NIMFLAGS="${NIMFLAGS} -d:limitStackUsage"
|
export NIMFLAGS="${NIMFLAGS} -d:limitStackUsage"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user