16
16
17
17
stages :
18
18
- build
19
+ - test
19
20
20
21
before_script :
21
22
- echo "started by ${GITLAB_USER_NAME}"
22
23
23
24
# reusable templates
24
25
.ccache_init : &ccache_init
25
26
before_script :
26
- - apt update
27
- - apt install -y build-essential qtcreator qtbase5-dev libusb-1.0-0-dev libhidapi-dev pkgconf wget git file
27
+ - export QT_SELECT=qt5
28
+ - export APPIMAGE_EXTRACT_AND_RUN=1
28
29
29
30
# -----------------------------------------------------------------------#
30
31
# Linux (AppImage) 32-bit Build Target #
31
32
# -----------------------------------------------------------------------#
32
33
" Linux 32 AppImage " :
33
34
<< : *ccache_init
34
- image : i386/debian:bullseye
35
+ image : registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:stretch-32
35
36
stage : build
36
37
script :
37
38
- export $(dpkg-architecture)
@@ -50,7 +51,7 @@ before_script:
50
51
# -----------------------------------------------------------------------#
51
52
" Linux 64 AppImage " :
52
53
<< : *ccache_init
53
- image : debian:bullseye
54
+ image : registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:stretch-64
54
55
stage : build
55
56
script :
56
57
- export $(dpkg-architecture)
@@ -69,10 +70,9 @@ before_script:
69
70
# -----------------------------------------------------------------------#
70
71
" Linux 32 deb " :
71
72
<< : *ccache_init
72
- image : i386/debian:bullseye
73
+ image : registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:stretch-32
73
74
stage : build
74
75
script :
75
- - apt install -y debhelper
76
76
- dpkg-architecture -l
77
77
- dpkg-buildpackage --target-arch i386 -us -B
78
78
- rm -v ../openrgb-dbgsym*.deb
@@ -91,10 +91,9 @@ before_script:
91
91
# -----------------------------------------------------------------------#
92
92
" Linux 64 deb " :
93
93
<< : *ccache_init
94
- image : debian:bullseye
94
+ image : registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:stretch-64
95
95
stage : build
96
96
script :
97
- - apt install -y debhelper
98
97
- dpkg-architecture -l
99
98
- dpkg-buildpackage -us -B
100
99
- rm -v ../openrgb-dbgsym*.deb
@@ -134,7 +133,239 @@ before_script:
134
133
paths :
135
134
- openrgb*.rpm
136
135
expire_in : 30 days
137
-
136
+
137
+ # -----------------------------------------------------------------------#
138
+ # Linux (.deb) Debian Bullseye 32-bit Build Target #
139
+ # -----------------------------------------------------------------------#
140
+ " Linux 32 deb Bullseye " :
141
+ << : *ccache_init
142
+ image : i386/debian:bullseye
143
+ stage : build
144
+ script :
145
+ - apt update
146
+ - apt install -y build-essential qtcreator qtbase5-dev libusb-1.0-0-dev libhidapi-dev pkgconf wget git file debhelper
147
+ - dpkg-architecture -l
148
+ - dpkg-buildpackage --target-arch i386 -us -B
149
+ - rm -v ../openrgb-dbgsym*.deb
150
+ - mv -v ../openrgb*.deb ./
151
+
152
+ artifacts :
153
+ name : " ${CI_PROJECT_NAME}_Linux_32_deb_${CI_COMMIT_SHORT_SHA}"
154
+ paths :
155
+ - openrgb*.deb
156
+ exclude :
157
+ - openrgb-dbgsym*.deb
158
+ expire_in : 30 days
159
+
160
+ # -----------------------------------------------------------------------#
161
+ # Linux (.deb) Debian Bullseye 64-bit Build Target #
162
+ # -----------------------------------------------------------------------#
163
+ " Linux 64 deb Bullseye " :
164
+ << : *ccache_init
165
+ image : debian:bullseye
166
+ stage : build
167
+ script :
168
+ - apt update
169
+ - apt install -y build-essential qtcreator qtbase5-dev libusb-1.0-0-dev libhidapi-dev pkgconf wget git file debhelper
170
+ - dpkg-architecture -l
171
+ - dpkg-buildpackage -us -B
172
+ - rm -v ../openrgb-dbgsym*.deb
173
+ - mv -v ../openrgb*.deb ./
174
+
175
+ artifacts :
176
+ name : " ${CI_PROJECT_NAME}_Linux_64_deb_${CI_COMMIT_SHORT_SHA}"
177
+ paths :
178
+ - openrgb*.deb
179
+ exclude :
180
+ - openrgb-dbgsym*.deb
181
+ expire_in : 30 days
182
+
183
+ # -----------------------------------------------------------------------#
184
+ # Debian 32 Buster test #
185
+ # -----------------------------------------------------------------------#
186
+ " Debian 32 Buster " :
187
+ image : i386/debian:buster
188
+ stage : test
189
+ script :
190
+ - apt update
191
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*i386.deb
192
+ - openrgb --version
193
+ - openrgb -l
194
+ - apt remove -y openrgb
195
+ dependencies :
196
+ - " Linux 32 deb"
197
+ needs :
198
+ - " Linux 32 deb"
199
+
200
+ # -----------------------------------------------------------------------#
201
+ # Debian 32 Bullseye test #
202
+ # -----------------------------------------------------------------------#
203
+ " Debian 32 Bullseye " :
204
+ image : i386/debian:bullseye
205
+ stage : test
206
+ script :
207
+ - apt update
208
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*i386.deb
209
+ - openrgb --version
210
+ - openrgb -l
211
+ - apt remove -y openrgb
212
+ dependencies :
213
+ - " Linux 32 deb"
214
+ needs :
215
+ - " Linux 32 deb"
216
+
217
+ # -----------------------------------------------------------------------#
218
+ # Ubuntu 32 18.04LTS test #
219
+ # -----------------------------------------------------------------------#
220
+ " Ubuntu 32 18.04LTS " :
221
+ image : i386/ubuntu:bionic
222
+ stage : test
223
+ script :
224
+ - apt update
225
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*i386.deb
226
+ - openrgb --version
227
+ - openrgb -l
228
+ - apt remove -y openrgb
229
+ dependencies :
230
+ - " Linux 32 deb"
231
+ needs :
232
+ - " Linux 32 deb"
233
+
234
+ # -----------------------------------------------------------------------#
235
+ # Mint 32 19.3 test #
236
+ # -----------------------------------------------------------------------#
237
+ " Mint 32 20.1 " :
238
+ image : linuxmintd/mint19.3-i386
239
+ stage : test
240
+ script :
241
+ - apt update
242
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*i386.deb
243
+ - openrgb --version
244
+ - openrgb -l
245
+ - apt remove -y openrgb
246
+ dependencies :
247
+ - " Linux 32 deb"
248
+ needs :
249
+ - " Linux 32 deb"
250
+
251
+ # -----------------------------------------------------------------------#
252
+ # Debian 64 Buster test #
253
+ # -----------------------------------------------------------------------#
254
+ " Debian 64 Buster " :
255
+ image : debian:buster
256
+ stage : test
257
+ script :
258
+ - apt update
259
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*amd64.deb
260
+ - openrgb --version
261
+ - openrgb -l
262
+ - apt remove -y openrgb
263
+ dependencies :
264
+ - " Linux 64 deb"
265
+ needs :
266
+ - " Linux 64 deb"
267
+
268
+ # -----------------------------------------------------------------------#
269
+ # Debian 64 Bullseye test #
270
+ # -----------------------------------------------------------------------#
271
+ " Debian 64 Bullseye " :
272
+ image : debian:bullseye
273
+ stage : test
274
+ script :
275
+ - apt update
276
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*amd64.deb
277
+ - openrgb --version
278
+ - openrgb -l
279
+ - apt remove -y openrgb
280
+ dependencies :
281
+ - " Linux 64 deb"
282
+ needs :
283
+ - " Linux 64 deb"
284
+
285
+ # -----------------------------------------------------------------------#
286
+ # Fedora 64 v34 test #
287
+ # -----------------------------------------------------------------------#
288
+ " Fedora 64 v34 " :
289
+ image : fedora:34
290
+ stage : test
291
+ script :
292
+ - yum -y localinstall ./openrgb*64.rpm
293
+ - openrgb --version
294
+ - openrgb -l
295
+ - yum -y remove openrgb
296
+ dependencies :
297
+ - " Linux 64 rpm"
298
+ needs :
299
+ - " Linux 64 rpm"
300
+
301
+ # -----------------------------------------------------------------------#
302
+ # Ubuntu 64 18.04LTS test #
303
+ # -----------------------------------------------------------------------#
304
+ " Ubuntu 64 18.04LTS " :
305
+ image : ubuntu:bionic
306
+ stage : test
307
+ script :
308
+ - apt update
309
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*amd64.deb
310
+ - openrgb --version
311
+ - openrgb -l
312
+ - apt remove -y openrgb
313
+ dependencies :
314
+ - " Linux 64 deb"
315
+ needs :
316
+ - " Linux 64 deb"
317
+
318
+ # -----------------------------------------------------------------------#
319
+ # Ubuntu 64 20.04LTS test #
320
+ # -----------------------------------------------------------------------#
321
+ " Ubuntu 64 20.04LTS " :
322
+ image : ubuntu:focal
323
+ stage : test
324
+ script :
325
+ - apt update
326
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*amd64.deb
327
+ - openrgb --version
328
+ - openrgb -l
329
+ - apt remove -y openrgb
330
+ dependencies :
331
+ - " Linux 64 deb"
332
+ needs :
333
+ - " Linux 64 deb"
334
+
335
+ # -----------------------------------------------------------------------#
336
+ # Ubuntu 64 20.10 test #
337
+ # -----------------------------------------------------------------------#
338
+ " Ubuntu 64 20.10 " :
339
+ image : ubuntu:groovy
340
+ stage : test
341
+ script :
342
+ - apt update
343
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*amd64.deb
344
+ - openrgb --version
345
+ - openrgb -l
346
+ - apt remove -y openrgb
347
+ dependencies :
348
+ - " Linux 64 deb"
349
+ needs :
350
+ - " Linux 64 deb"
351
+
352
+ # -----------------------------------------------------------------------#
353
+ # Mint 64 20.1 test #
354
+ # -----------------------------------------------------------------------#
355
+ " Mint 64 20.1 " :
356
+ image : linuxmintd/mint20.1-amd64
357
+ stage : test
358
+ script :
359
+ - apt update
360
+ - DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends ./openrgb*amd64.deb
361
+ - openrgb --version
362
+ - openrgb -l
363
+ - apt remove -y openrgb
364
+ dependencies :
365
+ - " Linux 64 deb"
366
+ needs :
367
+ - " Linux 64 deb"
368
+
138
369
# -----------------------------------------------------------------------#
139
370
# Windows (32-bit) Build Target #
140
371
# -----------------------------------------------------------------------#
0 commit comments