Add .build.yml for builds.sr.ht

This commit is contained in:
Drew DeVault 2017-08-04 16:51:44 -04:00
parent 7c393d5143
commit ce886c0353
1 changed files with 25 additions and 0 deletions

25
.build.yml Normal file
View File

@ -0,0 +1,25 @@
image: archlinux
packages:
- cmake
- wayland
- wayland-protocols
- mesa
- libinput
- libxkbcommon
- libcap
- clang
sources:
- https://git.sr.ht/~sircmpwn/wlroots
tasks:
- setup: |
mkdir wlroots/build-{gcc,clang}
cd wlroots/build-gcc
cmake ..
cd ../build-clang
CC=clang cmake ..
- gcc: |
cd wlroots/build-gcc
make
- clang: |
cd wlroots/build-clang
make