CI: Use the new --enable-asan

(cherry picked from commit d5de05b608)
This commit is contained in:
Alexander Larsson
2021-01-14 12:15:23 +01:00
committed by Simon McVittie
parent 0a169383e9
commit be70cd5024

View File

@@ -57,10 +57,10 @@ jobs:
run: |
mkdir _build
pushd _build
../configure
../configure --enable-internal-checks --enable-asan
popd
env:
CFLAGS: -fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address -O2 -Wp,-D_FORTIFY_SOURCE=2
CFLAGS: -O2 -Wp,-D_FORTIFY_SOURCE=2
- name: Build flatpak
run: make -C _build -j $(getconf _NPROCESSORS_ONLN)
- name: Run tests