Skip to content

Commit d570f1a

Browse files
Add sanitizers to meson CI matrix
1 parent 9cb6791 commit d570f1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/meson.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
cpp_compiler: [g++, clang++]
14+
sanitize: ['address,undefined', 'thread', 'memory']
1415

1516
runs-on: ubuntu-latest
1617

@@ -23,7 +24,7 @@ jobs:
2324
- name: Setup
2425
env:
2526
CXX: ${{ matrix.cpp_compiler }}
26-
run: meson setup build -Dwerror=true -Dwarning_level=3
27+
run: meson setup build -Dwerror=true -Dwarning_level=3 -Db_sanitize=${{ matrix.sanitize }}
2728

2829
- name: Compile
2930
run: meson compile -C build

0 commit comments

Comments
 (0)