cage/.builds/archlinux.yml
2019-12-18 21:51:05 +01:00

30 lines
808 B
YAML

image: archlinux
packages:
- clang
- meson
- libinput
- libxkbcommon
- wayland
- 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
# Need this to compile 0.8.1.
git checkout d113e48a2a32542fe6e12f1759f07888364609bf
meson --prefix=/usr build -Dexamples=false
ninja -C build
sudo ninja -C build install
- build: |
cd cage
meson build -Dxwayland=true
ninja -C build
- scan-build: |
cd cage
CC=clang meson build -Dxwayland=true
CC=clang ninja -C build scan-build