-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
53 lines (49 loc) · 1.21 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
stages:
- build
- collect
build-windows:
stage: build
image: $CI_REGISTRY/veyon/ci-mingw-w64:4.9
script:
- ./prepare-build.sh
- cd veyon && .ci/windows/build.sh $ARCH addons-binaries && cd ..
- mv veyon/veyon-addons-* .
parallel:
matrix:
- ARCH: [i686, x86_64]
artifacts:
paths: [ "veyon-addons*" ]
build-linux:
stage: build
image: veyon/ci.linux.$DISTRO:latest
script:
- ./prepare-build.sh
- cd veyon && .ci/linux.$DISTRO/script.sh $CI_PROJECT_DIR/veyon $CI_PROJECT_DIR/build addons && cd ..
- mv veyon/veyon-addons* .
parallel:
matrix:
- DISTRO:
- centos.7.9
- debian.11
- debian.12
- fedora.40
- fedora.41
- opensuse.15.5
- opensuse.15.6
- opensuse.tumbleweed
- ubuntu.20.04
- ubuntu.22.04
- ubuntu.24.04
artifacts:
paths: [ "veyon-addons*" ]
collect-artifacts:
stage: collect
dependencies: [ build-linux ]
script:
- ls -la *.deb *.rpm
artifacts:
paths: [ "veyon-addons*" ]
image: veyon/ci.linux.debian.buster:latest
variables:
CMAKE_FLAGS: "-DWITH_CORE_ONLY=ON -DWITH_ADDONS=ON -DCPACK_PACKAGE_NAME=veyon-addons"
GIT_SUBMODULE_STRATEGY: recursive