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
|
@ -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…
Reference in New Issue