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>
- 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:
zlib = 'enabled'
openssl = 'enabled'
werror = true
+b_sanitize = 'address,undefined'
[built-in options]
buildtype = 'debugoptimized'