aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-04 16:51:44 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-04 16:51:44 -0400
commitce886c03539319f7b3327a4adde3c912e349e0f4 (patch)
tree0759465ae81f47a69180e20dcce2525ff9c3aa38
parent7c393d514382a9784894ac2950669361b5c9def1 (diff)
Add .build.yml for builds.sr.ht
-rw-r--r--.build.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 00000000..06c14268
--- /dev/null
+++ b/.build.yml
@@ -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