Skip to content

Commit 3f27c84

Browse files
committed
ci: only bypass b_lundef if using clang+sanitize
1 parent c195f66 commit 3f27c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/meson.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: clang+sanitize
4444
args: >-
45-
"-Db_sanitize=address,undefined"
45+
-Db_lundef=false "-Db_sanitize=address,undefined"
4646
extra_envs:
4747
CC: clang
4848
CXX: clang++
@@ -130,7 +130,7 @@ jobs:
130130
if: ${{ matrix.platform != 'windows-2022' }}
131131
env: ${{ matrix.mode.extra_envs }}
132132
run: |
133-
meson setup build-${{ matrix.flavor }} --buildtype=${{ matrix.flavor }} -Db_lundef=false ${{ matrix.mode.args }}
133+
meson setup build-${{ matrix.flavor }} --buildtype=${{ matrix.flavor }} ${{ matrix.mode.args }}
134134
- name: Building
135135
run: |
136136
meson compile -C build-${{ matrix.flavor }}

0 commit comments

Comments
 (0)