]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Abort CI tests on sanitizer error.
authorNathan Moinvaziri <nathan@solidstatenetworks.com>
Sat, 3 Oct 2020 21:34:08 +0000 (14:34 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 9 Oct 2020 09:29:08 +0000 (11:29 +0200)
.github/workflows/cmake.yml

index 4948ab13cd0867d5f18113daa383b6009a452bbc..3824af50bb572fb74db94b60ab2ac09259ff194a 100644 (file)
@@ -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' )