aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-02-19 12:11:16 +0100
committeremersion <contact@emersion.fr>2019-02-19 12:11:16 +0100
commitb4836ecbcc67cecf42aa2cbc80e5116a78176328 (patch)
treeca7e5fac869bbbdf1384e87901ea47ee485fb3ff
parentc939453bea78a21da92c9ce22b330d3fd2bce196 (diff)
downloadsway-b4836ecbcc67cecf42aa2cbc80e5116a78176328.zip
sway-b4836ecbcc67cecf42aa2cbc80e5116a78176328.tar.gz
sway-b4836ecbcc67cecf42aa2cbc80e5116a78176328.tar.bz2
ci: add Alpine CI
-rw-r--r--.builds/alpine.yml38
-rw-r--r--.builds/archlinux.yml (renamed from .build.yml)18
2 files changed, 47 insertions, 9 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644
index 0000000..328625a
--- /dev/null
+++ b/.builds/alpine.yml
@@ -0,0 +1,38 @@
+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
+ - scdoc
+ - wayland-dev
+ - wayland-protocols
+ - xcb-util-image-dev
+ - xorg-server-xwayland
+sources:
+ - https://github.com/swaywm/sway
+ - https://github.com/swaywm/wlroots
+tasks:
+ - wlroots: |
+ cd wlroots
+ meson --prefix=/usr build -Drootston=false -Dexamples=false
+ ninja -C build
+ sudo ninja -C build install
+ - setup: |
+ cd sway
+ meson build
+ - build: |
+ cd sway
+ ninja -C build
+ - build-no-xwayland: |
+ cd sway
+ meson configure build -Dxwayland=disabled
+ ninja -C build
diff --git a/.build.yml b/.builds/archlinux.yml
index 1443331..c8f116e 100644
--- a/.build.yml
+++ b/.builds/archlinux.yml
@@ -1,25 +1,25 @@
-# vim: ft=yaml ts=2 sw=2 et :
image: archlinux
packages:
- - meson
- - xorg-server-xwayland
- - xcb-util-image
- - json-c
- - pango
- cairo
- - wayland
- - wayland-protocols
- gdk-pixbuf2
+ - json-c
- libinput
+ - libxcb
- libxkbcommon
+ - meson
+ - pango
- scdoc
+ - wayland
+ - wayland-protocols
+ - xcb-util-image
+ - xorg-server-xwayland
sources:
- https://github.com/swaywm/sway
- https://github.com/swaywm/wlroots
tasks:
- wlroots: |
cd wlroots
- meson --prefix=/usr build
+ meson --prefix=/usr build -Drootston=false -Dexamples=false
ninja -C build
sudo ninja -C build install
- setup: |