mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
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
|
|
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
|
|
- scan-build: |
|
|
cd cage
|
|
CC=clang meson build --werror -Dxwayland=true
|
|
CC=clang ninja -C build scan-build
|
|
rm -rf build
|
|
- clang-format: |
|
|
cd cage
|
|
meson build --werror -Dxwayland=true
|
|
ninja -C build clang-format
|
|
rm -rf build
|
|
git diff --exit-code
|