Merge pull request #3726 from emersion/alpine-ci

ci: add Alpine build
This commit is contained in:
Drew DeVault 2019-02-19 08:55:56 -05:00 committed by GitHub
commit 99f6bdcc71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: |