-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
644 lines (543 loc) · 18.1 KB
/
.gitlab-ci.yml
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2018-2023 Collabora, Ltd. and the Monado contributors
###############################################
# GENERATED - DO NOT EDIT
# see .gitlab-ci/ci.template, etc instead
###############################################
# Detached MR pipelines, needed due to https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438
# workflow:
# rules:
# - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
# - if: $CI_PIPELINE_SOURCE == 'push'
variables:
FDO_UPSTREAM_REPO: "monado/monado"
include:
- project: "freedesktop/ci-templates"
ref: 7811ba9814a3bad379377241c6c6b62d78b20eac
file:
- "/templates/debian.yml"
- "/templates/ubuntu.yml"
- "/templates/arch.yml"
# - local: .gitlab-ci/containers/ci-container-prep.yml
- local: .gitlab-ci/ci-rules.yml
stages:
- container_prep
- build
- package
- reprepro
- pages
- deploy
# # #
###
# Windows container-related jobs (prep and usage)
.monado.common_variables.windows:vs2022:
inherit:
default: false
variables:
MONADO_WIN_BASE_TAG: "20230422.0"
MONADO_WIN_MAIN_TAG: "20230422.0"
MONADO_BASE_IMAGE_PATH: "win2022/vs2022_base"
MONADO_MAIN_IMAGE_PATH: "win2022/vs2022"
.monado.variables.windows:vs2022:
inherit:
default: false
extends:
- .monado.common_variables.windows:vs2022
variables:
MONADO_IMAGE_PATH: "$MONADO_MAIN_IMAGE_PATH"
FDO_DISTRIBUTION_TAG: "$MONADO_WIN_MAIN_TAG"
MONADO_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
MONADO_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
# Shared container-building job
.monado.windows.container_prep:
inherit:
default: false
tags:
- windows
- "2022"
- shell
variables:
GIT_STRATEGY: fetch
extends:
- .container-rules
stage: container_prep
script:
- |
.gitlab-ci\windows\monado_container.ps1 -RegistryUri "$CI_REGISTRY" -RegistryUsername "$CI_REGISTRY_USER" -UserImage "$MONADO_IMAGE" -UpstreamImage "$MONADO_UPSTREAM_IMAGE" -Dockerfile "$DOCKERFILE" -BaseImage "$MONADO_BASE_IMAGE" -BaseUpstreamImage "$MONADO_UPSTREAM_BASE_IMAGE" -Verbose
# This container just installs Visual C++ Build Tools.
win:container_prep:base:
extends:
- .monado.windows.container_prep
- .monado.common_variables.windows:vs2022
variables:
DOCKERFILE: Dockerfile.vs2022
MONADO_IMAGE_PATH: ${MONADO_BASE_IMAGE_PATH}
FDO_DISTRIBUTION_TAG: "$MONADO_WIN_BASE_TAG"
MONADO_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
MONADO_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
# This container adds other deps
win:container_prep:
extends:
- .monado.windows.container_prep
- .monado.variables.windows:vs2022
needs:
- win:container_prep:base
variables:
DOCKERFILE: Dockerfile.build
MONADO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_BASE_IMAGE_PATH:$MONADO_WIN_BASE_TAG"
MONADO_UPSTREAM_BASE_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_BASE_IMAGE_PATH:$MONADO_WIN_BASE_TAG"
# Base job to use a Windows build container
.monado.image.windows:
tags:
- windows
- "2022"
- docker
extends:
- .monado.variables.windows:vs2022
- .build-rules
image: $MONADO_IMAGE
# Variables for build and usage of Debian bullseye image
.monado.variables.debian:bullseye:
variables:
FDO_DISTRIBUTION_VERSION: "bullseye"
FDO_DISTRIBUTION_TAG: "2023-04-07"
# Variables for build and usage of Debian bullseye-ndk image
.monado.variables.debian:bullseye-ndk:
variables:
FDO_DISTRIBUTION_VERSION: "bullseye"
FDO_DISTRIBUTION_TAG: "2023-04-10.1"
FDO_REPO_SUFFIX: ndk
# Variables for build and usage of Ubuntu focal image
.monado.variables.ubuntu:focal:
variables:
FDO_DISTRIBUTION_VERSION: "20.04"
FDO_DISTRIBUTION_TAG: "2022-09-20.0"
# Variables for build and usage of Ubuntu jammy image
.monado.variables.ubuntu:jammy:
variables:
FDO_DISTRIBUTION_VERSION: "22.04"
FDO_DISTRIBUTION_TAG: "2022-09-20.0"
# Variables for build and usage of Arch rolling image
.monado.variables.arch:rolling:
variables:
FDO_DISTRIBUTION_VERSION: "rolling"
FDO_DISTRIBUTION_TAG: "2023-05-22.0"
###
# Container prep jobs
# Make Debian bullseye image
debian:bullseye:container_prep:
stage: container_prep
extends:
- .container-rules
- .monado.variables.debian:bullseye
- .fdo.container-build@debian # from ci-templates
variables:
FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates clang-format cmake codespell curl debhelper devscripts doxygen dput-ng gettext-base git glslang-tools graphviz libavcodec-dev libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 python3-click python3-pip unzip wget'
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/i386_and_proclamation_container_prep.sh'
# Make Debian bullseye-ndk image
debian:bullseye-ndk:container_prep:
stage: container_prep
extends:
- .container-rules
- .monado.variables.debian:bullseye-ndk
- .fdo.container-build@debian # from ci-templates
variables:
FDO_DISTRIBUTION_PACKAGES: 'ca-certificates cmake default-jdk-headless git glslang-tools libeigen3-dev meson ninja-build pkg-config python3 unzip wget'
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/android_container_prep.sh'
# Make Ubuntu focal image
ubuntu:focal:container_prep:
stage: container_prep
extends:
- .container-rules
- .monado.variables.ubuntu:focal
- .fdo.container-build@ubuntu # from ci-templates
variables:
FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates cmake curl debhelper devscripts dput-ng gettext-base git glslang-tools libavcodec-dev libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 unzip wget'
# Make Ubuntu jammy image
ubuntu:jammy:container_prep:
stage: container_prep
extends:
- .container-rules
- .monado.variables.ubuntu:jammy
- .fdo.container-build@ubuntu # from ci-templates
variables:
FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates cmake curl debhelper devscripts dput-ng gettext-base git glslang-tools libavcodec-dev libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 reprepro unzip wget'
# Make Arch rolling image
arch:rolling:container_prep:
stage: container_prep
extends:
- .container-rules
- .monado.variables.arch:rolling
- .fdo.container-build@arch # from ci-templates
variables:
FDO_DISTRIBUTION_PACKAGES: 'base-devel bc bluez-libs boost check clang cmake diffutils doxygen eigen ffmpeg fmt gcc git glew glfw-x11 glslang glu graphviz gtest gtk3 hidapi libbsd libusb libxrandr mesa meson ninja opencv patch pipewire-jack pkgconfig python-attrs python-setuptools python3 qt6-base v4l-utils vulkan-headers vulkan-icd-loader wayland wget wireplumber'
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/install-arch-additional-deps.sh'
###
# Container usage base jobs
# Base for using Debian bullseye image
.monado.image.debian:bullseye:
extends:
- .monado.variables.debian:bullseye
- .fdo.distribution-image@debian # from ci-templates
- .build-rules
# Base for using Debian bullseye-ndk image
.monado.image.debian:bullseye-ndk:
extends:
- .monado.variables.debian:bullseye-ndk
- .fdo.suffixed-image@debian # from ci-templates
- .build-rules
# Base for using Ubuntu focal image
.monado.image.ubuntu:focal:
extends:
- .monado.variables.ubuntu:focal
- .fdo.distribution-image@ubuntu # from ci-templates
- .build-rules
# Base for using Ubuntu jammy image
.monado.image.ubuntu:jammy:
extends:
- .monado.variables.ubuntu:jammy
- .fdo.distribution-image@ubuntu # from ci-templates
- .build-rules
# Base for using Arch rolling image
.monado.image.arch:rolling:
extends:
- .monado.variables.arch:rolling
- .fdo.distribution-image@arch # from ci-templates
- .build-rules
# Style check job
format-and-spellcheck:
extends:
- .monado.image.debian:bullseye
stage: build
script:
- scripts/format-and-spellcheck.sh
artifacts:
paths:
- patches/
expire_in: 1 week
when: on_failure
# Verify REUSE compliance
reuse:
extends:
- .build-rules
stage: build
image:
name: fsfe/reuse:latest
entrypoint: [""]
script:
- reuse lint
debian:cmake:
stage: build
extends:
- .monado.image.debian:bullseye
before_script:
- pushd doc/changes
- proclamation build --overwrite vNEXT
- popd
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh
- cd build && ctest --output-on-failure
artifacts:
paths:
- build/doc/html/
debian:cmake-no-opencv:
stage: build
extends:
- .monado.image.debian:bullseye
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF -DXRT_HAVE_OPENCV=OFF
- cd build && ctest --output-on-failure
debian:cmake-no-sdl2:
stage: build
extends:
- .monado.image.debian:bullseye
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF -DXRT_HAVE_SDL2=OFF
- cd build && ctest --output-on-failure
debian:cmake-no-service:
stage: build
extends:
- .monado.image.debian:bullseye
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF -DXRT_FEATURE_SERVICE=OFF
- cd build && ctest --output-on-failure
debian:cmake:32bit:
stage: build
extends:
- .monado.image.debian:bullseye
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DCMAKE_TOOLCHAIN_FILE=.gitlab-ci/i386.cmake -DXRT_HAVE_OPENCV=OFF
- cd build && ctest --output-on-failure
ndk:armeabi-v7a:
stage: build
extends:
- .monado.image.debian:bullseye-ndk
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=26 -DBUILD_DOC=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk/build/cmake/android.toolchain.cmake -DEigen3_DIR=/usr/lib/cmake/eigen3/ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
ndk:arm64-v8a:
stage: build
extends:
- .monado.image.debian:bullseye-ndk
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=26 -DBUILD_DOC=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk/build/cmake/android.toolchain.cmake -DEigen3_DIR=/usr/lib/cmake/eigen3/ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
android:spotlessCheck:
stage: build
extends:
- .monado.image.debian:bullseye-ndk
before_script:
# For caching gradle stuff
- export GRADLE_USER_HOME=`pwd`/.gradlehome
variables:
GRADLE_ARGS: "-Porg.gradle.daemon=false "
cache:
paths:
- .gradlehome/wrapper
- .gradlehome/caches
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-gradle-build.sh spotlessCheck
android:outOfProcessDebug:
stage: build
extends:
- .monado.image.debian:bullseye-ndk
before_script:
# For caching gradle stuff
- export GRADLE_USER_HOME=`pwd`/.gradlehome
variables:
GRADLE_ARGS: "-Porg.gradle.daemon=false "
cache:
paths:
- .gradlehome/wrapper
- .gradlehome/caches
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-gradle-build.sh assembleOutOfProcessDebug
artifacts:
paths:
- src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess
android:inProcessDebug:
stage: build
extends:
- .monado.image.debian:bullseye-ndk
before_script:
# For caching gradle stuff
- export GRADLE_USER_HOME=`pwd`/.gradlehome
variables:
GRADLE_ARGS: "-Porg.gradle.daemon=false "
cache:
paths:
- .gradlehome/wrapper
- .gradlehome/caches
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-gradle-build.sh assembleInProcessDebug
artifacts:
paths:
- src/xrt/targets/openxr_android/build/outputs/apk/inProcess
android:outOfProcessRelease:
stage: build
extends:
- .monado.image.debian:bullseye-ndk
before_script:
# For caching gradle stuff
- export GRADLE_USER_HOME=`pwd`/.gradlehome
variables:
GRADLE_ARGS: "-Porg.gradle.daemon=false "
cache:
paths:
- .gradlehome/wrapper
- .gradlehome/caches
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-gradle-build.sh assembleOutOfProcessRelease
artifacts:
paths:
- src/xrt/targets/openxr_android/build/outputs/apk/outOfProcess
android:inProcessRelease:
stage: build
extends:
- .monado.image.debian:bullseye-ndk
before_script:
# For caching gradle stuff
- export GRADLE_USER_HOME=`pwd`/.gradlehome
variables:
GRADLE_ARGS: "-Porg.gradle.daemon=false "
cache:
paths:
- .gradlehome/wrapper
- .gradlehome/caches
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-gradle-build.sh assembleInProcessRelease
artifacts:
paths:
- src/xrt/targets/openxr_android/build/outputs/apk/inProcess
ubuntu:focal:cmake:
stage: build
extends:
- .monado.image.ubuntu:focal
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF
- cd build && ctest --output-on-failure
ubuntu:jammy:cmake:
stage: build
extends:
- .monado.image.ubuntu:jammy
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF
- cd build && ctest --output-on-failure
arch:cmake:
stage: build
extends:
- .monado.image.arch:rolling
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh
- cd build && ctest --output-on-failure
arch:cmake:clang:
stage: build
extends:
- .monado.image.arch:rolling
script:
- .gitlab-ci/prebuild.sh
- .gitlab-ci/ci-cmake-build.sh -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
- cd build && ctest --output-on-failure
# Windows build
windows:
stage: build
extends:
- .monado.image.windows
script:
- ./.gitlab-ci/windows/monado_build.ps1 -Install -RunTests
artifacts:
when: always
paths:
- install
- build/Testing/Temporary
# Packaging
.monado.packaging.conditions:
rules:
# Only the default branch of the "upstream" repo.
- if: "$CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
when: on_success
# Otherwise, don't build packages.
- when: never
debian:bullseye:package:
extends:
- .monado.image.debian:bullseye
- .monado.packaging.conditions
variables:
GIT_STRATEGY: clone
DEBFULLNAME: "Monado CI"
DEBEMAIL: "[email protected]"
DISTRO: debian
CODENAME: bullseye
DEB_VERSION_SUFFIX: bpo11
stage: package
before_script:
- git config --global user.name Monado CI
- git config --global user.email [email protected]
script:
- .gitlab-ci/prebuild.sh
# Prep the source tree
- git clean -dfx
# Call this script to build binary and source packages.
# Can try locally by exporting the right variables and passing -B to get only a binary package to avoid complaints.
- .gitlab-ci/build-and-submit-package.sh
artifacts:
paths:
- "incoming/"
expire_in: 2 days
ubuntu:focal:package:
extends:
- .monado.image.ubuntu:focal
- .monado.packaging.conditions
variables:
GIT_STRATEGY: clone
DEBFULLNAME: "Monado CI"
DEBEMAIL: "[email protected]"
DISTRO: ubuntu
CODENAME: focal
DEB_VERSION_SUFFIX: ubuntu2004
stage: package
before_script:
- git config --global user.name Monado CI
- git config --global user.email [email protected]
script:
- .gitlab-ci/prebuild.sh
# Prep the source tree
- git clean -dfx
# Call this script to build binary and source packages.
# Can try locally by exporting the right variables and passing -B to get only a binary package to avoid complaints.
- .gitlab-ci/build-and-submit-package.sh
artifacts:
paths:
- "incoming/"
expire_in: 2 days
ubuntu:jammy:package:
extends:
- .monado.image.ubuntu:jammy
- .monado.packaging.conditions
variables:
GIT_STRATEGY: clone
DEBFULLNAME: "Monado CI"
DEBEMAIL: "[email protected]"
DISTRO: ubuntu
CODENAME: jammy
DEB_VERSION_SUFFIX: ubuntu2204
stage: package
before_script:
- git config --global user.name Monado CI
- git config --global user.email [email protected]
script:
- .gitlab-ci/prebuild.sh
# Prep the source tree
- git clean -dfx
# Call this script to build binary and source packages.
# Can try locally by exporting the right variables and passing -B to get only a binary package to avoid complaints.
- .gitlab-ci/build-and-submit-package.sh
artifacts:
paths:
- "incoming/"
expire_in: 2 days
reprepro:package:
stage: reprepro
extends:
- .monado.image.ubuntu:jammy
- .monado.packaging.conditions
needs:
- debian:bullseye:package
- ubuntu:focal:package
- ubuntu:jammy:package
script:
- bash .gitlab-ci/reprepro.sh
artifacts:
paths:
- "repo/"
expire_in: 2 days
###
# Pages
###
pages:
stage: pages
extends:
- .monado.packaging.conditions
needs:
- debian:cmake
- reprepro:package
script:
- mkdir -p public
- mv build/doc/html/* public/
- mv repo public/apt
artifacts:
paths:
- public