aboutsummaryrefslogtreecommitdiff
path: root/.builds/archlinux.yml
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-02-15 22:24:50 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-02-15 22:24:50 +0000
commit3d007bc47ce322e9007c9da78500bd8a3e95ceb2 (patch)
tree84f3ea28e6605bb11718c5f717444d0d4faf12a1 /.builds/archlinux.yml
parente6b9072be34921353062661f7f0675deb3e229b7 (diff)
downloadimv-3d007bc47ce322e9007c9da78500bd8a3e95ceb2.tar.gz
meta: Move CI to sr.ht
Diffstat (limited to '.builds/archlinux.yml')
-rw-r--r--.builds/archlinux.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
new file mode 100644
index 0000000..f52c5bf
--- /dev/null
+++ b/.builds/archlinux.yml
@@ -0,0 +1,26 @@
+image: archlinux
+packages:
+ - clang
+ - cmocka
+ - freeimage
+ - libjpeg-turbo
+ - libpng
+ - librsvg
+ - libtiff
+ - sdl2
+ - sdl2_ttf
+sources:
+ - https://git.sr.ht/~exec64/imv
+tasks:
+ - configure: |
+ cd imv
+ sed -i -e 's/BACKEND_\(.*\)=no/BACKEND_\1=yes/' config.mk
+ cat config.mk
+ - gcc: |
+ cd imv
+ CC=gcc BUILDDIR=gcc make
+ CC=gcc BUILDDIR=gcc make check
+ - clang: |
+ cd imv
+ CC=clang BUILDDIR=clang make
+ CC=clang BUILDDIR=clang make check