aboutsummaryrefslogtreecommitdiff
path: root/.builds/debian.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/debian.yml')
-rw-r--r--.builds/debian.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.builds/debian.yml b/.builds/debian.yml
new file mode 100644
index 0000000..42da8b3
--- /dev/null
+++ b/.builds/debian.yml
@@ -0,0 +1,26 @@
+image: debian/stable
+packages:
+ - clang
+ - libcmocka-dev
+ - libfreeimage-dev
+ - libpng-dev
+ - librsvg2-dev
+ - libsdl2-dev
+ - libsdl2-ttf-dev
+ - libtiff-dev
+ - libturbojpeg-dev
+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