Skip to content

Commit 53fe147

Browse files
committed
gh ci: ubsan halt on error
1 parent 05c1006 commit 53fe147

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/unit-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ jobs:
4646
run: cmake --build . --config ${{ matrix.cfg.btype }} ${{ matrix.cfg.buildflags }}
4747
- name: Test
4848
run: ctest -C ${{ matrix.cfg.btype }} --output-on-failure
49+
env:
50+
# just set this to all configs, it will be used where it matters and ignored otherwise
51+
UBSAN_OPTIONS: halt_on_error=1

0 commit comments

Comments
 (0)