ci: add Alpine CI

This commit is contained in:
emersion 2019-02-19 12:11:16 +01:00
parent c939453bea
commit b4836ecbcc
Failed to generate hash of commit
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 image: archlinux
packages: packages:
- meson
- xorg-server-xwayland
- xcb-util-image
- json-c
- pango
- cairo - cairo
- gdk-pixbuf2
- json-c
- libinput
- libxcb
- libxkbcommon
- meson
- pango
- scdoc
- wayland - wayland
- wayland-protocols - wayland-protocols
- gdk-pixbuf2 - xcb-util-image
- libinput - xorg-server-xwayland
- libxkbcommon
- scdoc
sources: sources:
- https://github.com/swaywm/sway - https://github.com/swaywm/sway
- https://github.com/swaywm/wlroots - https://github.com/swaywm/wlroots
tasks: tasks:
- wlroots: | - wlroots: |
cd wlroots cd wlroots
meson --prefix=/usr build meson --prefix=/usr build -Drootston=false -Dexamples=false
ninja -C build ninja -C build
sudo ninja -C build install sudo ninja -C build install
- setup: | - setup: |