blob: 2a0f5dd17741c8e4b38642e221aadef6361d5e0d [file] [log] [blame]
Austin Schuhc55b0172022-02-20 17:52:35 -08001.test:linux:base:
2 stage: test
3 image: ubuntu:18.04
4 retry: 2
5 before_script:
6 - apt-get update -y
7 - apt-get install -y --no-install-recommends software-properties-common
8 - add-apt-repository -y ppa:ubuntu-toolchain-r/test
9 - apt-get update
10 - apt-get install --no-install-recommends -y ${EIGEN_CI_CXX_COMPILER}
11 ${EIGEN_CI_CC_COMPILER} cmake ninja-build xsltproc
12 script:
13 - export CXX=${EIGEN_CI_CXX_COMPILER}
14 - export CC=${EIGEN_CI_CC_COMPILER}
15 - cd ${BUILDDIR} && ctest --output-on-failure --no-compress-output
16 --build-no-clean -T test -L ${EIGEN_CI_TEST_LABEL}
17 after_script:
18 - apt-get update -y
19 - apt-get install --no-install-recommends -y xsltproc
20 - cd ${BUILDDIR}
21 - xsltproc ../ci/CTest2JUnit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > "JUnitTestResults_$CI_JOB_ID.xml"
22 artifacts:
23 reports:
24 junit:
25 - ${BUILDDIR}/JUnitTestResults_$CI_JOB_ID.xml
26 expire_in: 5 days
27 only:
28 - schedules
29
30##### x86-64 ###################################################################
31# GCC-4.8
32.test:x86-64:linux:gcc-4.8:cxx11-off:
33 extends: .test:linux:base
34 variables:
35 EIGEN_CI_CXX_COMPILER: g++-4.8
36 EIGEN_CI_CC_COMPILER: gcc-4.8
37 needs: [ "build:x86-64:linux:gcc-4.8:cxx11-off" ]
38 tags:
39 - eigen-runner
40 - linux
41 - x86-64
42
43test:x86-64:linux:gcc-4.8:cxx11-off:official:
44 extends: .test:x86-64:linux:gcc-4.8:cxx11-off
45 variables:
46 EIGEN_CI_TEST_LABEL: "Official"
47
48test:x86-64:linux:gcc-4.8:cxx11-off:unsupported:
49 extends: .test:x86-64:linux:gcc-4.8:cxx11-off
50 variables:
51 EIGEN_CI_TEST_LABEL: "Unsupported"
52
53.test:x86-64:linux:gcc-4.8:cxx11-on:
54 extends: .test:linux:base
55 variables:
56 EIGEN_CI_CXX_COMPILER: g++-4.8
57 EIGEN_CI_CC_COMPILER: gcc-4.8
58 needs: [ "build:x86-64:linux:gcc-4.8:cxx11-on" ]
59 tags:
60 - eigen-runner
61 - linux
62 - x86-64
63
64test:x86-64:linux:gcc-4.8:cxx11-on:official:
65 extends: .test:x86-64:linux:gcc-4.8:cxx11-on
66 variables:
67 EIGEN_CI_TEST_LABEL: "Official"
68
69test:x86-64:linux:gcc-4.8:cxx11-on:unsupported:
70 extends: .test:x86-64:linux:gcc-4.8:cxx11-on
71 variables:
72 EIGEN_CI_TEST_LABEL: "Unsupported"
73
74# GCC-9
75.test:x86-64:linux:gcc-9:cxx11-off:
76 extends: .test:linux:base
77 variables:
78 EIGEN_CI_CXX_COMPILER: g++-9
79 EIGEN_CI_CC_COMPILER: gcc-9
80 needs: [ "build:x86-64:linux:gcc-9:cxx11-off" ]
81 tags:
82 - eigen-runner
83 - linux
84 - x86-64
85
86test:x86-64:linux:gcc-9:cxx11-off:official:
87 extends: .test:x86-64:linux:gcc-9:cxx11-off
88 variables:
89 EIGEN_CI_TEST_LABEL: "Official"
90
91test:x86-64:linux:gcc-9:cxx11-off:unsupported:
92 extends: .test:x86-64:linux:gcc-9:cxx11-off
93 variables:
94 EIGEN_CI_TEST_LABEL: "Unsupported"
95
96.test:x86-64:linux:gcc-9:cxx11-on:
97 extends: .test:linux:base
98 variables:
99 EIGEN_CI_CXX_COMPILER: g++-9
100 EIGEN_CI_CC_COMPILER: gcc-9
101 needs: [ "build:x86-64:linux:gcc-9:cxx11-on" ]
102 tags:
103 - eigen-runner
104 - linux
105 - x86-64
106
107test:x86-64:linux:gcc-9:cxx11-on:official:
108 extends: .test:x86-64:linux:gcc-9:cxx11-on
109 variables:
110 EIGEN_CI_TEST_LABEL: "Official"
111
112test:x86-64:linux:gcc-9:cxx11-on:unsupported:
113 extends: .test:x86-64:linux:gcc-9:cxx11-on
114 variables:
115 EIGEN_CI_TEST_LABEL: "Unsupported"
116
117# GCC-10
118.test:x86-64:linux:gcc-10:cxx11-off:
119 extends: .test:linux:base
120 variables:
121 EIGEN_CI_CXX_COMPILER: g++-10
122 EIGEN_CI_CC_COMPILER: gcc-10
123 needs: [ "build:x86-64:linux:gcc-10:cxx11-off" ]
124 tags:
125 - eigen-runner
126 - linux
127 - x86-64
128
129test:x86-64:linux:gcc-10:cxx11-off:official:
130 extends: .test:x86-64:linux:gcc-10:cxx11-off
131 allow_failure: true
132 variables:
133 EIGEN_CI_TEST_LABEL: "Official"
134
135test:x86-64:linux:gcc-10:cxx11-off:unsupported:
136 extends: .test:x86-64:linux:gcc-10:cxx11-off
137 variables:
138 EIGEN_CI_TEST_LABEL: "Unsupported"
139
140.test:x86-64:linux:gcc-10:cxx11-on:
141 extends: .test:linux:base
142 variables:
143 EIGEN_CI_CXX_COMPILER: g++-10
144 EIGEN_CI_CC_COMPILER: gcc-10
145 needs: [ "build:x86-64:linux:gcc-10:cxx11-on" ]
146 tags:
147 - eigen-runner
148 - linux
149 - x86-64
150
151test:x86-64:linux:gcc-10:cxx11-on:official:
152 extends: .test:x86-64:linux:gcc-10:cxx11-on
153 allow_failure: true
154 variables:
155 EIGEN_CI_TEST_LABEL: "Official"
156
157test:x86-64:linux:gcc-10:cxx11-on:unsupported:
158 extends: .test:x86-64:linux:gcc-10:cxx11-on
159 allow_failure: true
160 variables:
161 EIGEN_CI_TEST_LABEL: "Unsupported"
162
163# Clang 10
164.test:x86-64:linux:clang-10:cxx11-off:
165 extends: .test:linux:base
166 variables:
167 EIGEN_CI_CXX_COMPILER: clang++-10
168 EIGEN_CI_CC_COMPILER: clang-10
169 needs: [ "build:x86-64:linux:clang-10:cxx11-off" ]
170 tags:
171 - eigen-runner
172 - linux
173 - x86-64
174
175test:x86-64:linux:clang-10:cxx11-off:official:
176 extends: .test:x86-64:linux:clang-10:cxx11-off
177 variables:
178 EIGEN_CI_TEST_LABEL: "Official"
179
180test:x86-64:linux:clang-10:cxx11-off:unsupported:
181 extends: .test:x86-64:linux:clang-10:cxx11-off
182 variables:
183 EIGEN_CI_TEST_LABEL: "Unsupported"
184
185.test:x86-64:linux:clang-10:cxx11-on:
186 extends: .test:linux:base
187 variables:
188 EIGEN_CI_CXX_COMPILER: clang++-10
189 EIGEN_CI_CC_COMPILER: clang-10
190 needs: [ "build:x86-64:linux:clang-10:cxx11-on" ]
191 tags:
192 - eigen-runner
193 - linux
194 - x86-64
195
196test:x86-64:linux:clang-10:cxx11-on:official:
197 extends: .test:x86-64:linux:clang-10:cxx11-on
198 variables:
199 EIGEN_CI_TEST_LABEL: "Official"
200
201test:x86-64:linux:clang-10:cxx11-on:unsupported:
202 extends: .test:x86-64:linux:clang-10:cxx11-on
203 variables:
204 EIGEN_CI_TEST_LABEL: "Unsupported"
205
206##### AArch64 ##################################################################
207# GCC-10
208.test:aarch64:linux:gcc-10:cxx11-off:
209 extends: .test:linux:base
210 variables:
211 EIGEN_CI_CXX_COMPILER: g++-10
212 EIGEN_CI_CC_COMPILER: gcc-10
213 needs: [ "build:aarch64:linux:gcc-10:cxx11-off" ]
214 tags:
215 - eigen-runner
216 - linux
217 - aarch64
218
219test:aarch64:linux:gcc-10:cxx11-off:official:
220 extends: .test:aarch64:linux:gcc-10:cxx11-off
221 allow_failure: true
222 variables:
223 EIGEN_CI_TEST_LABEL: "Official"
224
225test:aarch64:linux:gcc-10:cxx11-off:unsupported:
226 extends: .test:aarch64:linux:gcc-10:cxx11-off
227 allow_failure: true
228 variables:
229 EIGEN_CI_TEST_LABEL: "Unsupported"
230
231.test:aarch64:linux:gcc-10:cxx11-on:
232 extends: .test:linux:base
233 variables:
234 EIGEN_CI_CXX_COMPILER: g++-10
235 EIGEN_CI_CC_COMPILER: gcc-10
236 needs: [ "build:aarch64:linux:gcc-10:cxx11-on" ]
237 tags:
238 - eigen-runner
239 - linux
240 - aarch64
241
242test:aarch64:linux:gcc-10:cxx11-on:official:
243 extends: .test:aarch64:linux:gcc-10:cxx11-on
244 allow_failure: true
245 variables:
246 EIGEN_CI_TEST_LABEL: "Official"
247
248test:aarch64:linux:gcc-10:cxx11-on:unsupported:
249 extends: .test:aarch64:linux:gcc-10:cxx11-on
250 allow_failure: true
251 variables:
252 EIGEN_CI_TEST_LABEL: "Unsupported"
253
254# Clang 10
255.test:aarch64:linux:clang-10:cxx11-off:
256 extends: .test:linux:base
257 variables:
258 EIGEN_CI_CXX_COMPILER: clang++-10
259 EIGEN_CI_CC_COMPILER: clang-10
260 needs: [ "build:aarch64:linux:clang-10:cxx11-off" ]
261 tags:
262 - eigen-runner
263 - linux
264 - aarch64
265
266test:aarch64:linux:clang-10:cxx11-off:official:
267 extends: .test:aarch64:linux:clang-10:cxx11-off
268 allow_failure: true
269 variables:
270 EIGEN_CI_TEST_LABEL: "Official"
271
272test:aarch64:linux:clang-10:cxx11-off:unsupported:
273 extends: .test:aarch64:linux:clang-10:cxx11-off
274 variables:
275 EIGEN_CI_TEST_LABEL: "Unsupported"
276
277.test:aarch64:linux:clang-10:cxx11-on:
278 extends: .test:linux:base
279 variables:
280 EIGEN_CI_CXX_COMPILER: clang++-10
281 EIGEN_CI_CC_COMPILER: clang-10
282 needs: [ "build:aarch64:linux:clang-10:cxx11-on" ]
283 tags:
284 - eigen-runner
285 - linux
286 - aarch64
287
288test:aarch64:linux:clang-10:cxx11-on:official:
289 extends: .test:aarch64:linux:clang-10:cxx11-on
290 allow_failure: true
291 variables:
292 EIGEN_CI_TEST_LABEL: "Official"
293
294test:aarch64:linux:clang-10:cxx11-on:unsupported:
295 extends: .test:aarch64:linux:clang-10:cxx11-on
296 variables:
297 EIGEN_CI_TEST_LABEL: "Unsupported"
298
299##### ppc64le ##################################################################
300# GCC-10
301.test:ppc64le:linux:gcc-10:cxx11-off:
302 extends: .test:linux:base
303 variables:
304 EIGEN_CI_CXX_COMPILER: g++-10
305 EIGEN_CI_CC_COMPILER: gcc-10
306 needs: [ "build:ppc64le:linux:gcc-10:cxx11-off" ]
307 allow_failure: true
308 tags:
309 - eigen-runner
310 - linux
311 - ppc64le
312
313test:ppc64le:linux:gcc-10:cxx11-off:official:
314 extends: .test:ppc64le:linux:gcc-10:cxx11-off
315 variables:
316 EIGEN_CI_TEST_LABEL: "Official"
317
318test:ppc64le:linux:gcc-10:cxx11-off:unsupported:
319 extends: .test:ppc64le:linux:gcc-10:cxx11-off
320 variables:
321 EIGEN_CI_TEST_LABEL: "Unsupported"
322
323.test:ppc64le:linux:gcc-10:cxx11-on:
324 extends: .test:linux:base
325 variables:
326 EIGEN_CI_CXX_COMPILER: g++-10
327 EIGEN_CI_CC_COMPILER: gcc-10
328 needs: [ "build:ppc64le:linux:gcc-10:cxx11-on" ]
329 allow_failure: true
330 tags:
331 - eigen-runner
332 - linux
333 - ppc64le
334
335test:ppc64le:linux:gcc-10:cxx11-on:official:
336 extends: .test:ppc64le:linux:gcc-10:cxx11-on
337 variables:
338 EIGEN_CI_TEST_LABEL: "Official"
339
340test:ppc64le:linux:gcc-10:cxx11-on:unsupported:
341 extends: .test:ppc64le:linux:gcc-10:cxx11-on
342 variables:
343 EIGEN_CI_TEST_LABEL: "Unsupported"
344
345# # Clang 10
346.test:ppc64le:linux:clang-10:cxx11-off:
347 extends: .test:linux:base
348 variables:
349 EIGEN_CI_CXX_COMPILER: clang++-10
350 EIGEN_CI_CC_COMPILER: clang-10
351 needs: [ "build:ppc64le:linux:clang-10:cxx11-off" ]
352 allow_failure: true
353 tags:
354 - eigen-runner
355 - linux
356 - ppc64le
357
358test:ppc64le:linux:clang-10:cxx11-off:official:
359 extends: .test:ppc64le:linux:clang-10:cxx11-off
360 variables:
361 EIGEN_CI_TEST_LABEL: "Official"
362
363test:ppc64le:linux:clang-10:cxx11-off:unsupported:
364 extends: .test:ppc64le:linux:clang-10:cxx11-off
365 variables:
366 EIGEN_CI_TEST_LABEL: "Unsupported"
367
368.test:ppc64le:linux:clang-10:cxx11-on:
369 extends: .test:linux:base
370 variables:
371 EIGEN_CI_CXX_COMPILER: clang++-10
372 EIGEN_CI_CC_COMPILER: clang-10
373 needs: [ "build:ppc64le:linux:clang-10:cxx11-on" ]
374 allow_failure: true
375 tags:
376 - eigen-runner
377 - linux
378 - ppc64le
379
380test:ppc64le:linux:clang-10:cxx11-on:official:
381 extends: .test:ppc64le:linux:clang-10:cxx11-on
382 variables:
383 EIGEN_CI_TEST_LABEL: "Official"
384
385test:ppc64le:linux:clang-10:cxx11-on:unsupported:
386 extends: .test:ppc64le:linux:clang-10:cxx11-on
387 variables:
388 EIGEN_CI_TEST_LABEL: "Unsupported"