Skip to content

Commit 43607f2

Browse files
Add sanitizers to meson CI matrix
1 parent 7e149d4 commit 43607f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci-meson.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ on:
99
jobs:
1010
build-and-test:
1111
strategy:
12+
fail-fast: false
1213
matrix:
1314
cpp_compiler: [g++, clang++]
15+
sanitize: [address ,undefined, thread]
1416

1517
runs-on: ubuntu-latest
1618

@@ -23,10 +25,10 @@ jobs:
2325
- name: Setup
2426
env:
2527
CXX: ${{ matrix.cpp_compiler }}
26-
run: meson setup build -Dwerror=true -Dwarning_level=3
28+
run: meson setup build -Dwerror=true -Dwarning_level=3 -Db_sanitize=${{ matrix.sanitize }}
2729

2830
- name: Compile
2931
run: meson compile -C build
3032

3133
- name: Test
32-
run: meson test -C build
34+
run: meson test -C build --print-errorlogs

0 commit comments

Comments
 (0)