image: alpine/edge packages: - eudev-dev - mesa-dev - meson - libinput-dev - libxkbcommon-dev - pixman-dev - scdoc - wayland-dev - wayland-protocols - xorg-server-xwayland sources: - https://github.com/swaywm/wlroots - https://github.com/Hjdskes/cage tasks: # Install wlroots, which is required by Cage. Note that we compile a tagged # version, instead of master, to avoid any breaking changes in wlroots. - wlroots: | cd wlroots git checkout 0.11.0 meson --prefix=/usr build -Dexamples=false ninja -C build sudo ninja -C build install - build: | cd cage meson build --werror -Dxwayland=true ninja -C build rm -rf build - build-no-xwayland: | cd cage meson build --werror -Dxwayland=false ninja -C build rm -rf build