@@ -37,7 +37,7 @@ docker-ci-image:
37
37
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
38
38
- cd ci/docker
39
39
- >
40
- FIRST=1; for tag in 20 .04 18 .04; do
40
+ FIRST=1; for tag in 22 .04 20 .04; do
41
41
# fetches the latest image for cache (not failing if image is not found)
42
42
docker pull $IMAGE:$tag || true
43
43
docker build --pull --cache-from $IMAGE:$tag -f Dockerfile_$tag -t $IMAGE:$tag .
@@ -90,54 +90,90 @@ source-format:
90
90
# #######################################################################
91
91
# ## Ubuntu builds
92
92
93
- focal-relwithdebinfo-build :
93
+ jammy-relwithdebinfo-build :
94
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:22.04
95
+ variables :
96
+ CC : gcc-11
97
+ CXX : g++-11
94
98
<< : *prepare_docker_definition
95
99
<< : *compile_and_test_definition
96
100
97
- focal-release-build :
101
+ jammy-gcc12-relwithdebinfo-build :
102
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:22.04
103
+ variables :
104
+ CC : gcc-12
105
+ CXX : g++-12
98
106
<< : *prepare_docker_definition
99
107
<< : *compile_and_test_definition
100
- only :
101
- - master
102
- - ci-test
103
- variables :
104
- BUILD_TYPE : Release
105
108
106
- focal-debug-build :
109
+ jammy-gcc12-werror-debug-build :
110
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:22.04
107
111
<< : *prepare_docker_definition
108
112
<< : *compile_and_test_definition
109
- only :
110
- - master
111
- - ci-test
112
113
variables :
114
+ ROOTBA_CXXFLAGS : " -Werror"
113
115
BUILD_TYPE : CiDebug
114
116
115
- focal-werror-debug-build :
117
+ jammy-gcc12-werror-release-build :
118
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:22.04
116
119
<< : *prepare_docker_definition
117
120
<< : *compile_and_test_definition
118
121
variables :
119
122
ROOTBA_CXXFLAGS : " -Werror"
120
- BUILD_TYPE : CiDebug
123
+ BUILD_TYPE : Release
121
124
122
- focal-werror-release-build :
125
+ jammy-clang16-werror-build :
126
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:22.04
123
127
<< : *prepare_docker_definition
124
128
<< : *compile_and_test_definition
125
129
variables :
130
+ CC : clang-16
131
+ CXX : clang++-16
126
132
ROOTBA_CXXFLAGS : " -Werror"
133
+
134
+ jammy-clang-tidy-build :
135
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:22.04
136
+ << : *prepare_docker_definition
137
+ variables :
138
+ CC : clang-16
139
+ CXX : clang++-16
140
+ script :
141
+ - cmake --version
142
+ - source ./ci/scripts/install-dependencies.sh
143
+ - time ./scripts/build-external.sh ${BUILD_TYPE}
144
+ - time ./scripts/build-rootba.sh ${BUILD_TYPE}
145
+ - cd build && ctest --output-on-failure || true # allow test failure
146
+ - cd ..
147
+ - ./scripts/clang-tidy-all.sh
148
+ allow_failure : true # TODO: fix clang-tidy errors
149
+
150
+ focal-relwithdebinfo-build :
151
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:20.04
152
+ << : *prepare_docker_definition
153
+ << : *compile_and_test_definition
154
+
155
+ focal-release-build :
156
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:20.04
157
+ << : *prepare_docker_definition
158
+ << : *compile_and_test_definition
159
+ only :
160
+ - master
161
+ - ci-test
162
+ variables :
127
163
BUILD_TYPE : Release
128
164
129
- focal-clang10-werror-build :
165
+ focal-debug-build :
166
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:20.04
130
167
<< : *prepare_docker_definition
131
168
<< : *compile_and_test_definition
132
169
only :
133
170
- master
134
171
- ci-test
135
172
variables :
136
- CC : clang-10
137
- CXX : clang++-10
138
- ROOTBA_CXXFLAGS : " -Werror"
173
+ BUILD_TYPE : CiDebug
139
174
140
175
focal-gcc10-werror-build :
176
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:20.04
141
177
<< : *prepare_docker_definition
142
178
<< : *compile_and_test_definition
143
179
only :
@@ -149,6 +185,7 @@ focal-gcc10-werror-build:
149
185
ROOTBA_CXXFLAGS : " -Werror"
150
186
151
187
focal-asan-build :
188
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:20.04
152
189
<< : *prepare_docker_definition
153
190
<< : *compile_and_test_definition
154
191
only :
@@ -160,6 +197,7 @@ focal-asan-build:
160
197
ASAN_OPTIONS : " detect_leaks=0"
161
198
162
199
focal-latest-tbb-build :
200
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:20.04
163
201
<< : *prepare_docker_definition
164
202
<< : *compile_and_test_definition
165
203
only :
@@ -169,22 +207,18 @@ focal-latest-tbb-build:
169
207
UBUNTU_INSTALL_LATEST_TBB : " 1"
170
208
TBB_ROOT : /opt/intel/tbb
171
209
172
- bionic-relwithdebinfo-build :
173
- image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:18.04
174
- << : *prepare_docker_definition
175
- << : *compile_and_test_definition
176
-
177
-
178
210
focal-clang-tidy-build :
211
+ image : $CI_REGISTRY_IMAGE/ubuntu-ci-rootba:20.04
179
212
<< : *prepare_docker_definition
180
213
script :
181
214
- cmake --version
182
215
- source ./ci/scripts/install-dependencies.sh
183
216
- time ./scripts/build-external.sh ${BUILD_TYPE}
184
217
- time ./scripts/build-rootba.sh ${BUILD_TYPE}
185
- - cd build && ctest --output-on-failure
218
+ - cd build && ctest --output-on-failure || true # allow test failure
186
219
- cd ..
187
220
- ./scripts/clang-tidy-all.sh
221
+ allow_failure : true # TODO: fix clang-tidy errors
188
222
189
223
190
224
# #######################################################################
@@ -215,3 +249,18 @@ catalina-brewclang-asan-build:
215
249
BUILD_TYPE : SanitizerRelWithDebInfo
216
250
# don't activate leak sanitizer; seems to give false positives in system libs...
217
251
# ASAN_OPTIONS: "detect_leaks=1"
252
+
253
+ bigsur-relwithdebinfo-build :
254
+ << : *compile_and_test_definition
255
+ tags : [macos, "11", x86_64]
256
+
257
+ monterey-arm-relwithdebinfo-build :
258
+ << : *compile_and_test_definition
259
+ tags : [macos, "12", arm64]
260
+
261
+ monterey-arm-brewclang-relwithdebinfo-build :
262
+ << : *compile_and_test_definition
263
+ tags : [macos, "12", arm64]
264
+ variables :
265
+ CC : /opt/homebrew/opt/llvm/bin/clang
266
+ CXX : /opt/homebrew/opt/llvm/bin/clang++
0 commit comments