mirror of
https://git.tukaani.org/xz.git
synced 2025-02-19 15:08:14 +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
(cherry picked from commit b5e3470442531717b2457b40ab412740296af1bc)
This commit is contained in:
parent
2d2d5f14b3
commit
cc21af1715
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