From: Emil Velikov Date: Thu, 17 Oct 2024 16:46:48 +0000 (+0100) Subject: Enable sanitizers in build-dev.ini X-Git-Tag: v34~215 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6091dae92582da07cd78e671ceef59f8cb1ee85f;p=thirdparty%2Fkmod.git Enable sanitizers in build-dev.ini With the sanitizers supported in both gcc + clang and all the issues resolved, let's enable them via build-dev.ini. This means, developers will see any issues OOTB without having to run through the CI. As a nice bonus, let's re-enable them for ubuntu:22.04 - it should be working fine now. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/172 Signed-off-by: Lucas De Marchi --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f1b8be6..041c6424 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,17 +27,13 @@ jobs: - name: 'ubuntu:22.04' multilib: 'true' - name: 'ubuntu:24.04' - meson_setup: '-D b_sanitize=address,undefined' multilib: 'true' - name: 'archlinux:multilib-devel' - meson_setup: '-D b_sanitize=address,undefined' multilib: 'true' - name: 'fedora:latest' - meson_setup: '-D b_sanitize=address,undefined' - name: 'alpine:latest' - meson_setup: '-D docs=false' + meson_setup: '-D docs=false -D b_sanitize=none' - name: 'debian:unstable' - meson_setup: '-D b_sanitize=address,undefined' multilib: 'true' container: diff --git a/build-dev.ini b/build-dev.ini index 254f8498..804893f4 100644 --- a/build-dev.ini +++ b/build-dev.ini @@ -12,6 +12,7 @@ xz = 'enabled' zlib = 'enabled' openssl = 'enabled' werror = true +b_sanitize = 'address,undefined' [built-in options] buildtype = 'debugoptimized'