From 1fa3941aa54403e4de6616bb2d5f47ab58c7dc8f Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Wed, 16 Aug 2023 18:56:05 +0200 Subject: [PATCH] set `WITH_UBSAN` correctly when running on GA (#5299) GitHub actions script was not setting `WITH_UBSAN` correctly. Fix it. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 813217fd7..fbea19d9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,8 @@ jobs: # Stack usage test and UBSAN on recent enough gcc: if [[ '${{ runner.os }}' == 'Linux' && '${{ matrix.target.cpu }}' == 'amd64' ]]; 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" else export NIMFLAGS="${NIMFLAGS} -d:limitStackUsage"