From ce886c03539319f7b3327a4adde3c912e349e0f4 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 4 Aug 2017 16:51:44 -0400 Subject: [PATCH] Add .build.yml for builds.sr.ht --- .build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .build.yml 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