sway/.builds/archlinux.yml
Simon Ser bd32b300fb ci: enable all features
If unspecified, feature options are set to "auto", which means enabled only if
the required dependencies are found. In CI we don't want to miss compilation
errors because a dependency hasn't been found and code isn't built.

Leave FreeBSD out for now because it uses a subproject (haven't found a way to
make auto_features=enabled only apply to the toplevel project).
2019-04-25 10:00:55 -06:00

35 lines
687 B
YAML

image: archlinux
packages:
- cairo
- gdk-pixbuf2
- json-c
- libinput
- libxcb
- libxkbcommon
- meson
- pango
- wayland
- wayland-protocols
- xcb-util-image
- xorg-server-xwayland
sources:
- https://github.com/swaywm/sway
- https://github.com/swaywm/wlroots
- https://git.sr.ht/~sircmpwn/scdoc
tasks:
- scdoc: |
cd scdoc
make PREFIX=/usr
sudo make install PREFIX=/usr
- wlroots: |
cd wlroots
meson --prefix=/usr build -Drootston=false -Dexamples=false
ninja -C build
sudo ninja -C build install
- setup: |
cd sway
meson build -Dauto_features=enabled
- build: |
cd sway
ninja -C build