-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
69 lines (62 loc) · 1.28 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
stages:
- build
- collect
- deploy
.build:
variables:
EXTRA_CMAKE_FLAGS: ""
before_script:
- export CMAKE_CMD="cmake -GNinja -DCMAKE_BUILD_TYPE=Release $EXTRA_CMAKE_FLAGS .."
script:
- mkdir -p build/
- cd build/
- $CMAKE_CMD
- ninja
build:debian:11:static:
extends: .build
stage: build
image: ghcr.io/educelab/ci-docker:11_v2.base
needs: []
tags:
- docker
build:debian:11:dynamic:
extends: .build
stage: build
image: ghcr.io/educelab/ci-docker:11_v2.base
needs: []
variables:
EXTRA_CMAKE_FLAGS: "-DBUILD_SHARED_LIBS=ON"
tags:
- docker
build:debian:12:static:
extends: .build
stage: build
image: ghcr.io/educelab/ci-docker:base.12.0
needs: []
tags:
- docker
build:debian:12:dynamic:
extends: .build
stage: build
image: ghcr.io/educelab/ci-docker:base.12.0
needs: []
variables:
EXTRA_CMAKE_FLAGS: "-DBUILD_SHARED_LIBS=ON"
tags:
- docker
build:macos:static:
extends: .build
stage: build
needs: []
tags:
- deploy
- macos
build:macos:dynamic:
extends: .build
stage: build
needs: []
variables:
EXTRA_CMAKE_FLAGS: "-DBUILD_SHARED_LIBS=ON"
tags:
- deploy
- macos