Skip to content

Commit

Permalink
Enable sanitizers in build-dev.ini
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: #172
Signed-off-by: Lucas De Marchi <[email protected]>
  • Loading branch information
evelikov authored and lucasdemarchi committed Oct 18, 2024
1 parent 0b3c45e commit 6091dae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions build-dev.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ xz = 'enabled'
zlib = 'enabled'
openssl = 'enabled'
werror = true
b_sanitize = 'address,undefined'

[built-in options]
buildtype = 'debugoptimized'

0 comments on commit 6091dae

Please sign in to comment.