]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
Enable sanitizers in build-dev.ini
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 17 Oct 2024 16:46:48 +0000 (17:46 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 18 Oct 2024 18:22:11 +0000 (13:22 -0500)
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 <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/172
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
.github/workflows/main.yml
build-dev.ini

index 7f1b8be6b3a849ca37f8e0cac4fc20ff76916f6f..041c642430bfc25fd9c9c0d7cc62a5f2db7d0f54 100644 (file)
@@ -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:
index 254f8498c5af595150df719bc60a174e735823e8..804893f48201a99868cf2714212e58283ef02566 100644 (file)
@@ -12,6 +12,7 @@ xz = 'enabled'
 zlib = 'enabled'
 openssl = 'enabled'
 werror = true
+b_sanitize = 'address,undefined'
 
 [built-in options]
 buildtype = 'debugoptimized'