swayfx/.builds/alpine.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

43 lines
907 B
YAML

image: alpine/edge
packages:
- cairo-dev
- eudev-dev
- gdk-pixbuf-dev
- json-c-dev
- libevdev-dev
- libinput-dev
- libxcb-dev
- libxkbcommon-dev
- mesa-dev
- meson
- pango-dev
- pixman-dev
- wayland-dev
- wayland-protocols
- xcb-util-image-dev
- 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 -Dtray=disabled
- build: |
cd sway
ninja -C build
- build-no-xwayland: |
cd sway
meson configure build -Dxwayland=disabled
ninja -C build