aboutsummaryrefslogtreecommitdiff
path: root/.builds/archlinux.yml
blob: b4a9ed18f7ba9931484d99ed142fd112a7c8d809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
image: archlinux
packages:
  - clang
  - cmocka
  - freeimage
  - libjpeg-turbo
  - libpng
  - librsvg
  - libtiff
  - libx11
  - libxkbcommon
  - pango
  - wayland
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-x11: |
      cd imv
      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
      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