@@ -150,10 +150,37 @@ before_script:
150
150
expire_in : 30 days
151
151
152
152
# -----------------------------------------------------------------------#
153
- # Linux (.rpm) 64-bit Build Target #
153
+ # Linux (.rpm, f35 ) 64-bit Build Target #
154
154
# -----------------------------------------------------------------------#
155
- " Linux 64 rpm " :
156
- image : fedora:34
155
+ " Linux 64 f35 rpm " :
156
+ image : fedora:35
157
+ stage : build
158
+ script :
159
+ - dnf install rpmdevtools dnf-plugins-core -y
160
+ - rpmdev-setuptree
161
+ - ls /root/
162
+ - cp fedora/OpenRGB.spec /root/rpmbuild/SPECS
163
+ - cp ../OpenRGB /root/rpmbuild/SOURCES/ -r
164
+ - cd /root/rpmbuild/SOURCES
165
+ - tar -cf OpenRGB.tar.gz OpenRGB/
166
+ - cd ..
167
+ - dnf builddep SPECS/OpenRGB.spec -y
168
+ - rpmbuild -ba SPECS/OpenRGB.spec
169
+ - cd RPMS/x86_64/
170
+ - mv openrgb*.rpm ${CI_PROJECT_DIR}/
171
+ - cd ${CI_PROJECT_DIR}
172
+
173
+ artifacts :
174
+ name : " ${CI_PROJECT_NAME}_Linux_64_rpm_${CI_COMMIT_SHORT_SHA}"
175
+ paths :
176
+ - openrgb*.rpm
177
+ expire_in : 30 days
178
+
179
+ # -----------------------------------------------------------------------#
180
+ # Linux (.rpm, f36) 64-bit Build Target #
181
+ # -----------------------------------------------------------------------#
182
+ " Linux 64 f36 rpm " :
183
+ image : fedora:36
157
184
stage : build
158
185
script :
159
186
- dnf install rpmdevtools dnf-plugins-core -y
@@ -279,20 +306,36 @@ before_script:
279
306
- " Linux 64 .deb (Debian Bullseye)"
280
307
281
308
# -----------------------------------------------------------------------#
282
- # Fedora 64 v34 test #
309
+ # Fedora 64 v35 test #
310
+ # -----------------------------------------------------------------------#
311
+ " Fedora 64 v35 " :
312
+ image : fedora:35
313
+ stage : test
314
+ script :
315
+ - yum -y localinstall ./openrgb*64.rpm
316
+ - openrgb --version
317
+ - openrgb -l
318
+ - yum -y remove openrgb
319
+ dependencies :
320
+ - " Linux 64 f35 rpm"
321
+ needs :
322
+ - " Linux 64 f35 rpm"
323
+
324
+ # -----------------------------------------------------------------------#
325
+ # Fedora 64 v36 test #
283
326
# -----------------------------------------------------------------------#
284
- " Fedora 64 v34 " :
285
- image : fedora:34
327
+ " Fedora 64 v36 " :
328
+ image : fedora:36
286
329
stage : test
287
330
script :
288
331
- yum -y localinstall ./openrgb*64.rpm
289
332
- openrgb --version
290
333
- openrgb -l
291
334
- yum -y remove openrgb
292
335
dependencies :
293
- - " Linux 64 rpm"
336
+ - " Linux 64 f36 rpm"
294
337
needs :
295
- - " Linux 64 rpm"
338
+ - " Linux 64 f36 rpm"
296
339
297
340
# -----------------------------------------------------------------------#
298
341
# Windows (32-bit) Build Target #
0 commit comments