mirror of
https://git.tukaani.org/xz.git
synced 2025-02-20 07:28:20 +00:00
ci: make UBSAN abort on errors
Unfortunately, UBSAN doesn't do this by default. See also the change
I made in Meson for this in October [0].
[0] 7b7d2e060b
This commit is contained in:
parent
6c095a98fb
commit
b5e3470442
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -86,6 +86,7 @@ jobs:
|
||||
- name: Test with -fsanitize=address,undefined
|
||||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
|
||||
run: |
|
||||
export UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1
|
||||
./build-aux/ci_build.sh -b autotools -p test -f "-fsanitize=address,undefined" -d sandbox
|
||||
cd ../xz_build && make distclean
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user