CI: force c11 for wlroots compilation (#3385)

Works around `initialization discards ‘const’ qualifier from pointer target type`
Already fixed in wlroots master and 0.19.3 but that one has not yet been merged.
This commit is contained in:
Consolatis 2026-02-19 02:57:25 +01:00 committed by GitHub
parent 477bae1422
commit 89325fbff8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,7 +251,7 @@ jobs:
cd "$GITHUB_WORKSPACE"
export CC=gcc
meson setup build-gcc-leak -Dxwayland=enabled -Db_sanitize=address,undefined \
--werror --force-fallback-for=wlroots
--werror --force-fallback-for=wlroots -Dwlroots:c_std=c11
meson compile -C build-gcc-leak
LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-gcc-leak
' | $TARGET
@ -263,7 +263,7 @@ jobs:
cd "$GITHUB_WORKSPACE"
export CC=clang
meson setup build-clang-leak -Dxwayland=enabled -Db_sanitize=address,undefined \
--werror --force-fallback-for=wlroots
--werror --force-fallback-for=wlroots -Dwlroots:c_std=c11
meson compile -C build-clang-leak
LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-clang-leak
' | $TARGET