ci: add Alpine build (#30)

Alpine uses musl, which may behave differently than glibc. Add Alpine to
the CI to make sure we don't rely on glibc-specific behaviour.

References: https://github.com/emersion/xdg-desktop-portal-wlr/issues/28
This commit is contained in:
Simon Ser 2020-04-23 15:57:02 +02:00 committed by GitHub
parent 229a34a9fe
commit 6ecb5dffc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

17
.builds/alpine.yml Normal file
View file

@ -0,0 +1,17 @@
image: alpine/edge
packages:
- elogind-dev
- gcc
- meson
- pipewire-dev
- wayland-dev
- wayland-protocols
sources:
- https://github.com/emersion/xdg-desktop-portal-wlr
tasks:
- setup: |
cd xdg-desktop-portal-wlr
meson build/
- build: |
cd xdg-desktop-portal-wlr
ninja -C build/