aboutsummaryrefslogtreecommitdiff
path: root/.builds/archlinux.yml
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-07-18 23:17:35 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-07-18 23:22:20 +0100
commited4b4ed7552828f2f5f2889137149e278a3ca771 (patch)
treeb5133ecefe35d955bb4b60839d00829933d827fc /.builds/archlinux.yml
parent7d72f3065a72ce0e285587d14f026ce1167faab8 (diff)
downloadimv-ed4b4ed7552828f2f5f2889137149e278a3ca771.tar.gz
Test both X11 and Wayland builds in ci
Diffstat (limited to '.builds/archlinux.yml')
-rw-r--r--.builds/archlinux.yml25
1 files changed, 19 insertions, 6 deletions
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
index 06bb9de..b4a9ed1 100644
--- a/.builds/archlinux.yml
+++ b/.builds/archlinux.yml
@@ -7,6 +7,7 @@ packages:
- libpng
- librsvg
- libtiff
+ - libx11
- libxkbcommon
- pango
- wayland
@@ -17,11 +18,23 @@ tasks:
cd imv
sed -i -e 's/BACKEND_\(.*\)=no/BACKEND_\1=yes/' config.mk
cat config.mk
- - gcc: |
+ - gcc-x11: |
cd imv
- CC=gcc BUILDDIR=gcc make
- CC=gcc BUILDDIR=gcc make check
- - clang: |
+ sed -i -e 's/WINDOWS=.*/WINDOWS=x11/' config.mk
+ CC=gcc BUILDDIR=gcc-x11 make
+ CC=gcc BUILDDIR=gcc-x11 make check
+ - clang-x11: |
cd imv
- CC=clang BUILDDIR=clang make
- CC=clang BUILDDIR=clang make check
+ sed -i -e 's/WINDOWS=.*/WINDOWS=x11/' config.mk
+ CC=clang BUILDDIR=clang-x11 make
+ CC=clang BUILDDIR=clang-x11 make check
+ - gcc-wayland: |
+ cd imv
+ sed -i -e 's/WINDOWS=.*/WINDOWS=wayland/' config.mk
+ CC=gcc BUILDDIR=gcc-wayland make
+ CC=gcc BUILDDIR=gcc-wayland make check
+ - clang-wayland: |
+ cd imv
+ sed -i -e 's/WINDOWS=.*/WINDOWS=wayland/' config.mk
+ CC=clang BUILDDIR=clang-wayland make
+ CC=clang BUILDDIR=clang-wayland make check