ci: Test wlroots static linking

(cherry picked from commit 4df9f49dc1)
This commit is contained in:
Kenny Levinsen 2021-06-20 19:27:31 +02:00 committed by Simon Ser
parent 04f75e6acc
commit b21913e11d

View file

@ -38,3 +38,10 @@ tasks:
cd sway cd sway
meson configure build -Dxwayland=disabled meson configure build -Dxwayland=disabled
ninja -C build ninja -C build
- build-static: |
cd sway
mkdir subprojects
ln -s ../../wlroots subprojects/wlroots
rm -rf build
meson build --default-library=static --force-fallback-for=wlroots
ninja -C build