ci: add Alpine CI

This commit is contained in:
emersion 2019-02-19 12:11:16 +01:00
parent c939453bea
commit b4836ecbcc
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 49 additions and 11 deletions

38
.builds/alpine.yml Normal file
View file

@ -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

View file

@ -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
- gdk-pixbuf2
- json-c
- libinput
- libxcb
- libxkbcommon
- meson
- pango
- scdoc
- wayland
- wayland-protocols
- gdk-pixbuf2
- libinput
- libxkbcommon
- scdoc
- 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: |