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 <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>
This commit is contained in:
Emil Velikov 2024-10-17 17:46:48 +01:00 committed by Lucas De Marchi
parent 0b3c45e5c9
commit 6091dae925
2 changed files with 2 additions and 5 deletions

View 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:

View File

@ -12,6 +12,7 @@ xz = 'enabled'
zlib = 'enabled'
openssl = 'enabled'
werror = true
b_sanitize = 'address,undefined'
[built-in options]
buildtype = 'debugoptimized'