mirror of
https://github.com/labwc/labwc.git
synced 2026-02-20 01:40:22 -05:00
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:
parent
477bae1422
commit
89325fbff8
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue