ci: add .build.yml

This commit is contained in:
Simon Ser 2020-03-10 13:38:56 +01:00
parent a9e904a0c8
commit e27157e4ab
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

20
.build.yml Normal file
View file

@ -0,0 +1,20 @@
image: archlinux
packages:
- gcc
- clang
- meson
- wayland
- wayland-protocols
sources:
- https://github.com/emersion/xdg-desktop-portal-wlr
tasks:
- setup: |
cd xdg-desktop-portal-wlr
CC=gcc meson build-gcc/
CC=clang meson build-clang/
- build-gcc: |
cd xdg-desktop-portal-wlr
ninja -C build-gcc/
- build-clang: |
cd xdg-desktop-portal-wlr
ninja -C build-clang/