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
1 changed files with 20 additions and 0 deletions

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/