-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
124 lines (102 loc) · 2.31 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
variables:
DOCKER_IMG: "registry.gitlab.com/offa/plug/ci"
GTEST_COLOR: "yes"
stages:
- build-docker-images
- build
# -----------------------------------------
# --- CI Builds
# -----------------------------------------
gcc-9:
image: ${DOCKER_IMG}/gcc-9:latest
stage: build
script:
- script/ci_build.sh -asan -ubsan
gcc-8:
image: ${DOCKER_IMG}/gcc-8:latest
stage: build
script:
- script/ci_build.sh -asan -ubsan
gcc-7:
image: ${DOCKER_IMG}/gcc-7:latest
stage: build
script:
- script/ci_build.sh -asan -ubsan
clang-9:
image: ${DOCKER_IMG}/clang-9:latest
stage: build
script:
- script/ci_build.sh -asan -ubsan
clang-8:
image: ${DOCKER_IMG}/clang-8:latest
stage: build
script:
- script/ci_build.sh -asan -ubsan
clang-7:
image: ${DOCKER_IMG}/clang-7:latest
stage: build
script:
- script/ci_build.sh -asan # UBSan disabled, see #129
clang-6:
image: ${DOCKER_IMG}/clang-6:latest
stage: build
script:
- script/ci_build.sh -asan -ubsan
clang-5:
image: ${DOCKER_IMG}/clang-5:latest
stage: build
script:
- script/ci_build.sh -asan -ubsan
coverage:
image: ${DOCKER_IMG}/gcc-8:latest
stage: build
script:
- script/ci_build.sh -cov
# -----------------------------------------
# --- CI Images
# -----------------------------------------
.docker_build_template: &build_ci_definition
image: docker:latest
stage: build-docker-images
variables:
DOCKER_DRIVER: overlay2
services:
- docker:dind
before_script:
- docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
only:
- schedules
- web
- /^docker-.*$/
build-ci-gcc-9:
<<: *build_ci_definition
script:
- script/image_build.sh gcc-9
build-ci-gcc-8:
<<: *build_ci_definition
script:
- script/image_build.sh gcc-8
build-ci-gcc-7:
<<: *build_ci_definition
script:
- script/image_build.sh gcc-7
build-ci-clang-9:
<<: *build_ci_definition
script:
- script/image_build.sh clang-9
build-ci-clang-8:
<<: *build_ci_definition
script:
- script/image_build.sh clang-8
build-ci-clang-7:
<<: *build_ci_definition
script:
- script/image_build.sh clang-7
build-ci-clang-6:
<<: *build_ci_definition
script:
- script/image_build.sh clang-6
build-ci-clang-5:
<<: *build_ci_definition
script:
- script/image_build.sh clang-5