From 67ec33ba045ba2e8f8297548cb5c40ae21198fcd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 24 Aug 2024 15:06:13 +0200 Subject: [PATCH] ci: turn on --fatal-meson-warnings Catches mistakes such as non-existing build options. --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ac61911..cea4715d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,10 +34,11 @@ jobs: - name: Fetch wlroots as a subproject run: git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots -b 0.17 - # TODO: use --fatal-meson-warnings when on wlroots 0.15.0 - name: Compile Cage (XWayland=${{ matrix.xwayland }}) run: | - meson build-${{ matrix.CC }}-${{matrix.xwayland }} -Dwlroots:xwayland=${{ matrix.xwayland }} + meson --fatal-meson-warnings \ + build-${{ matrix.CC }}-${{matrix.xwayland }} \ + -Dwlroots:xwayland=${{ matrix.xwayland }} ninja -C build-${{ matrix.CC }}-${{matrix.xwayland }} format: