mirror of https://git.tukaani.org/xz.git
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 commitb5e3470442
)
This commit is contained in:
parent
2d2d5f14b3
commit
cc21af1715
|
@ -86,6 +86,7 @@ jobs:
|
||||||
- name: Test with -fsanitize=address,undefined
|
- name: Test with -fsanitize=address,undefined
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
|
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
|
||||||
run: |
|
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
|
./build-aux/ci_build.sh -b autotools -p test -f "-fsanitize=address,undefined" -d sandbox
|
||||||
cd ../xz_build && make distclean
|
cd ../xz_build && make distclean
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue