blob: c648a65f22f97c6092fcd67a0ba4a6bb4facc3a3 (
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
41
42
43
|
image: ubuntu/latest
packages:
- clang
- libcmocka-dev
- libegl1-mesa-dev
- libfreeimage-dev
- libglu-dev
- libpango1.0-dev
- libpng-dev
- librsvg2-dev
- libtiff-dev
- libturbojpeg-dev
- libwayland-dev
- libx11-dev
- libxkbcommon-dev
- mesa-common-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-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
|