From 68f71f6ffd2242c48b05d3477e841e12bc7c78f9 Mon Sep 17 00:00:00 2001 From: Borislav Stanimirov Date: Fri, 21 Apr 2023 14:14:31 +0300 Subject: [PATCH] gh ci: ubsan halt on error --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adda1a6..28f3faf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,8 @@ jobs: run: cmake --build . --config ${{ matrix.type }} - name: Test ASAN run: ctest -C ${{ matrix.type }} --output-on-failure + env: + UBSAN_OPTIONS: halt_on_error=1 - name: Configure TSAN run: cmake . -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DITLIB_ASAN=0 -DITLIB_TSAN=1 - name: Build TSAN