ci: Do not build with ASAN on older ubuntu

We already build and test with asan with the newer
toolchain in the ubuntu 24.04 job. Sometimes the older
toolchain found in 22.04 or the asan version will
trigger issues that are either false positive or that
have been already against in newer versions.
This commit is contained in:
Jordan Petridis
2025-04-26 13:09:20 +03:00
committed by Georges Basile Stavracas Neto
parent 7005191459
commit ff2f18cb42

View File

@@ -124,11 +124,11 @@ jobs:
- name: Create logs dir
run: mkdir test-logs
- name: configure
# We don't do gtk-doc or GObject-Introspection here, because they can
# clash with AddressSanitizer. Instead, the clang build enables those.
# Sometimes the older sanitizer toolchains will trigger issues that are either
# false positive or that have been already against in newer versions, so we don't
# enable them here.
run: |
meson setup \
-Db_sanitize=address,undefined \
-Dgir=disabled \
-Dgtkdoc=disabled \
-Dhttp_backend=soup \
@@ -142,7 +142,6 @@ jobs:
- name: Run tests
run: meson test -C _build
env:
ASAN_OPTIONS: detect_leaks=0 # Right now we're not fully clean, but this gets us use-after-free etc
LC_ALL: en_US.UTF-8
- name: Collect overall test logs on failure
if: failure()