aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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