From: Nathan Moinvaziri Date: Sat, 3 Oct 2020 21:34:08 +0000 (-0700) Subject: Abort CI tests on sanitizer error. X-Git-Tag: v2.0.0-RC1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5b48c1883903ccbab7ec61d06352cdb9328dc0f;p=thirdparty%2Fzlib-ng.git Abort CI tests on sanitizer error. --- diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 4948ab13c..3824af50b 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -401,10 +401,10 @@ jobs: cd ${{ matrix.build-dir || '.' }} ctest -C Release --output-on-failure --max-width 120 -j 6 env: - ASAN_OPTIONS: ${{ matrix.asan-options || 'verbosity=1' }} - MSAN_OPTIONS: ${{ matrix.msan-options || 'verbosity=1' }} - TSAN_OPTIONS: ${{ matrix.tsan-options || 'verbosity=1' }} - LSAN_OPTIONS: ${{ matrix.lsan-options || 'verbosity=1' }} + ASAN_OPTIONS: ${{ matrix.asan-options || 'verbosity=1' }}:abort_on_error=1 + MSAN_OPTIONS: ${{ matrix.msan-options || 'verbosity=1' }}:abort_on_error=1 + TSAN_OPTIONS: ${{ matrix.tsan-options || 'verbosity=1' }}:abort_on_error=1 + LSAN_OPTIONS: ${{ matrix.lsan-options || 'verbosity=1' }}:abort_on_error=1 - name: Upload coverage report if: matrix.codecov && ( env.CODECOV_TOKEN_SECRET != '' || github.repository == 'zlib-ng/zlib-ng' )