blob: ac2a9d2d445ee3bb9a8ff17118d2d88f26fc0a02 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
.artifacts-meson: &artifacts-meson
when: always
paths:
- _build/meson-logs
.artifacts-autotools: &artifacts-autotools
when: always
paths:
- _build/*.log
- _build/*/*.log
- _build/*/*/*.log
.meson-build: &meson-build
- meson _build
-D amdgpu=true
-D cairo-tests=true
-D etnaviv=true
-D exynos=true
-D freedreno=true
-D freedreno-kgsl=true
-D intel=true
-D libkms=true
-D man-pages=true
-D nouveau=true
-D omap=true
-D radeon=true
-D tegra=true
-D udev=true
-D valgrind=true
-D vc4=true
-D vmwgfx=true
- ninja -C _build
- ninja -C _build test
.autotools-build: &autotools-build
- mkdir _build
- cd _build
- ../autogen.sh
--enable-udev
--enable-libkms
--enable-intel
--enable-radeon
--enable-amdgpu
--enable-nouveau
--enable-vmwgfx
--enable-omap-experimental-api
--enable-exynos-experimental-api
--enable-freedreno
--enable-freedreno-kgsl
--enable-tegra-experimental-api
--enable-vc4
--enable-etnaviv-experimental-api
- make
- make check
latest-meson:
stage: build
image: archlinux/base:latest
before_script:
- pacman -Syu --noconfirm --needed
base-devel
meson
libpciaccess
libxslt docbook-xsl
valgrind
libatomic_ops
cairo cunit
script: *meson-build
latest-autotools:
stage: build
image: archlinux/base:latest
artifacts: *artifacts-autotools
before_script:
- pacman -Syu --noconfirm --needed
base-devel
libpciaccess
libxslt docbook-xsl
valgrind
libatomic_ops
cairo cunit
xorg-util-macros
git # autogen.sh depends on git
script: *autotools-build
oldest-meson:
stage: build
image: debian:stable
artifacts: *artifacts-meson
before_script:
- printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n"
'path-exclude=/usr/share/doc/*'
'path-exclude=/usr/share/man/*'
- printf > /usr/sbin/policy-rc.d "%s\n"
'#!/bin/sh'
'exit 101'
- chmod +x /usr/sbin/policy-rc.d
- apt-get update
- apt-get -y --no-install-recommends install
build-essential
pkg-config
xsltproc
libxslt1-dev docbook-xsl
valgrind
libatomic-ops-dev
libcairo2-dev libcunit1-dev
ninja-build
python3 python3-pip
wget
# We need `--no-check-certificate` here because Debian's CA list is
# too old to know about LetsEncrypt's CA, so it refuses to connect
# to FreeDesktop.org
- LIBPCIACCESS_VERSION=libpciaccess-0.10 &&
wget --no-check-certificate https://xorg.freedesktop.org/releases/individual/lib/$LIBPCIACCESS_VERSION.tar.bz2 &&
tar -jxvf $LIBPCIACCESS_VERSION.tar.bz2 &&
(cd $LIBPCIACCESS_VERSION && ./configure --prefix=$HOME/prefix && make install)
- pip3 install wheel setuptools
- pip3 install meson==0.43
- export PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig:$HOME/prefix/share/pkgconfig
- export LD_LIBRARY_PATH="$HOME/prefix/lib:$LD_LIBRARY_PATH"
script: *meson-build
oldest-autotools:
stage: build
image: debian:stable
artifacts: *artifacts-autotools
before_script:
- printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n"
'path-exclude=/usr/share/doc/*'
'path-exclude=/usr/share/man/*'
- printf > /usr/sbin/policy-rc.d "%s\n"
'#!/bin/sh'
'exit 101'
- chmod +x /usr/sbin/policy-rc.d
- apt-get update
- apt-get -y --no-install-recommends install
build-essential
automake
autoconf
libtool
pkg-config
xsltproc
libxslt1-dev docbook-xsl
valgrind
libatomic-ops-dev
libcairo2-dev libcunit1-dev
wget
xutils-dev
git # autogen.sh depends on git
# We need `--no-check-certificate` here because Debian's CA list is
# too old to know about LetsEncrypt's CA, so it refuses to connect
# to FreeDesktop.org
- LIBPCIACCESS_VERSION=libpciaccess-0.10 &&
wget --no-check-certificate https://xorg.freedesktop.org/releases/individual/lib/$LIBPCIACCESS_VERSION.tar.bz2 &&
tar -jxvf $LIBPCIACCESS_VERSION.tar.bz2 &&
(cd $LIBPCIACCESS_VERSION && ./configure --prefix=$HOME/prefix && make install)
- export PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig:$HOME/prefix/share/pkgconfig
- export LD_LIBRARY_PATH="$HOME/prefix/lib:$LD_LIBRARY_PATH"
script: *autotools-build
|