CI: force c11 for wlroots compilation

This commit is contained in:
Consolatis 2026-02-19 02:36:56 +01:00
parent 477bae1422
commit fb498f2260

View file

@ -251,7 +251,7 @@ jobs:
cd "$GITHUB_WORKSPACE" cd "$GITHUB_WORKSPACE"
export CC=gcc export CC=gcc
meson setup build-gcc-leak -Dxwayland=enabled -Db_sanitize=address,undefined \ 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 meson compile -C build-gcc-leak
LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-gcc-leak LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-gcc-leak
' | $TARGET ' | $TARGET
@ -263,7 +263,7 @@ jobs:
cd "$GITHUB_WORKSPACE" cd "$GITHUB_WORKSPACE"
export CC=clang export CC=clang
meson setup build-clang-leak -Dxwayland=enabled -Db_sanitize=address,undefined \ 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 meson compile -C build-clang-leak
LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-clang-leak LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-clang-leak
' | $TARGET ' | $TARGET