mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
bd32b300fb
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).
35 lines
687 B
YAML
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
|