cage/.builds/archlinux.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

image: archlinux
packages:
- clang
- meson
- libinput
- libxkbcommon
- scdoc
- 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
2020-05-09 11:46:10 +00:00
git checkout 0.11.0
2019-12-18 21:34:21 +01:00
meson --prefix=/usr build -Dexamples=false
ninja -C build
sudo ninja -C build install
- build: |
cd cage
2020-01-31 22:58:15 +01:00
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
- scan-build: |
cd cage
2020-01-31 22:58:15 +01:00
CC=clang meson build --werror -Dxwayland=true
CC=clang ninja -C build scan-build
rm -rf build
2020-02-17 21:56:33 +01:00
- clang-format: |
cd cage
meson build --werror -Dxwayland=true
ninja -C build clang-format
rm -rf build
git diff --exit-code