Skip to content

Commit 250bea7

Browse files
committed
workflows: configure with --fatal-meson-warnings
Ensure Meson warnings are noticed, at the cost of occasionally allowing Meson updates to break CI.
1 parent bcf8bb9 commit 250bea7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/run_unit_tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ jobs:
5050

5151
- name: Install build and test dependencies (Windows)
5252
if: startsWith(matrix.os, 'windows')
53-
run: pip install meson ninja
53+
run: |
54+
# remove broken pkg-config that causes Meson warnings
55+
del 'C:\\Strawberry\\perl\\bin\\pkg-config'
56+
del 'C:\\Strawberry\\perl\\bin\\pkg-config.BAT'
57+
pip install meson ninja
5458
5559
- name: Build and install library
5660
shell: bash
@@ -76,7 +80,7 @@ jobs:
7680
esac
7781
;;
7882
esac
79-
meson setup builddir --werror $setup_args
83+
meson setup builddir --fatal-meson-warnings --werror $setup_args
8084
DEBUG_DICT=1 meson compile -C builddir
8185
$sudo meson install -C builddir
8286

0 commit comments

Comments
 (0)