cage/.builds/alpine.yml
2019-05-03 21:03:09 +02:00

28 lines
764 B
YAML

image: alpine/edge
packages:
- eudev-dev
- mesa-dev
- meson
- libinput-dev
- libxkbcommon-dev
- pixman-dev
- 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
# This corresponds to the tag of 0.6.0
git checkout c0305f4f864543f8c3fea6f302e91c9b1d3396f3
meson --prefix=/usr build -Drootston=false -Dexamples=false
ninja -C build
sudo ninja -C build install
- build: |
cd cage
meson build -Dxwayland=true
ninja -C build