From 8b0b69c1131b4f6a823db9096f47ea05ac044d3d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 24 Aug 2024 15:05:10 +0200 Subject: [PATCH] ci: workaround libwayland C23 bug --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e82dbf1..e897f2d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,11 +34,14 @@ jobs: - name: Fetch wlroots as a subproject run: git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots -b 0.18 + # TODO: drop explicit c_std when this is released: + # https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/401 - name: Compile Cage (XWayland=${{ matrix.xwayland }}) run: | meson --fatal-meson-warnings \ build-${{ matrix.CC }}-${{matrix.xwayland }} \ - -Dwlroots:xwayland=${{ matrix.xwayland }} + -Dwlroots:xwayland=${{ matrix.xwayland }} \ + -Dwlroots:c_std=c11 ninja -C build-${{ matrix.CC }}-${{matrix.xwayland }} format: