blob: d4fe17aaa7d29c3c8abee9099e76d5dab1847a05 [file] [log] [blame]
Louis Dionne9f21d342020-09-23 13:20:031#===----------------------------------------------------------------------===##
2#
3# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4# See https://llvm.org/LICENSE.txt for license information.
5# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6#
7#===----------------------------------------------------------------------===##
8
9#
10# This file describes the various pre-commit CI bots used to test libc++.
11#
12# This file should never contain logic -- all the logic must be offloaded
13# into scripts. This is critical to being able to reproduce CI issues outside
14# of the CI environment, which is important for debugging.
15#
Louis Dionne2704d0a2021-04-20 12:35:3916# It is also worth noting that this script is split into several sections, the
17# goal being to reduce the load on testers when a commit is known to fail.
18#
Louis Dionne9f21d342020-09-23 13:20:0319
Mark de Weverca04b492022-08-04 15:29:2520# The Linux CI runners use the nightly ToT build provided by the Docker image.
21# (Note the image isn't updated daily.) The LLVM_HEAD_VERSION contains that
22# version number. The Linux CI runners for GCC use the latest stable version.
23# Theses numbers are available in all runners, making it easier to update the
24# version number.
25env:
Mark de Wevera41e1ea2023-02-07 10:10:2426 LLVM_STABLE_VERSION: "16"
27 LLVM_HEAD_VERSION: "17"
Mark de Weverca04b492022-08-04 15:29:2528 GCC_STABLE_VERSION: "12"
Louis Dionne9f21d342020-09-23 13:20:0329steps:
Louis Dionne2704d0a2021-04-20 12:35:3930 #
31 # Light pre-commit tests for things like formatting or when people forget
32 # to update generated files.
33 #
Marek Kurdej1361c5e2021-02-04 20:13:2234 - label: "Format"
35 command: "libcxx/utils/ci/run-buildbot check-format"
36 artifact_paths:
37 - "**/clang-format.patch"
Mark de Weverc5dbc282022-12-05 17:23:5138 env:
Louis Dionne5206e662023-02-07 03:17:3939 GIT_CLANG_FORMAT: "/usr/bin/git-clang-format-${LLVM_STABLE_VERSION} --binary clang-format-${LLVM_STABLE_VERSION}"
Louis Dionne3058cb72023-02-07 02:59:1940 CC: "clang-${LLVM_HEAD_VERSION}"
41 CXX: "clang++-${LLVM_HEAD_VERSION}"
Marek Kurdej1361c5e2021-02-04 20:13:2242 agents:
Louis Dionne1b885572021-04-30 18:07:0843 queue: "libcxx-builders"
Louis Dionne877e97a2021-07-12 20:25:2944 os: "linux"
Marek Kurdej1361c5e2021-02-04 20:13:2245 retry:
46 automatic:
47 - exit_status: -1 # Agent was lost
48 limit: 2
Louis Dionned232ec32021-08-09 13:42:2449 timeout_in_minutes: 120
Marek Kurdej1361c5e2021-02-04 20:13:2250
Mark de Weverae103002021-04-04 18:11:4851 - label: "Generated output"
52 command: "libcxx/utils/ci/run-buildbot check-generated-output"
53 artifact_paths:
54 - "**/generated_output.patch"
Mark de Wever1139fd42021-07-22 09:17:5355 - "**/generated_output.status"
Louis Dionne3058cb72023-02-07 02:59:1956 env:
57 CC: "clang-${LLVM_HEAD_VERSION}"
58 CXX: "clang++-${LLVM_HEAD_VERSION}"
Mark de Wever7067aee2023-02-15 20:00:0659 CLANG_FORMAT: "/usr/bin/clang-format-${LLVM_STABLE_VERSION}"
Mark de Weverae103002021-04-04 18:11:4860 agents:
Louis Dionne1b885572021-04-30 18:07:0861 queue: "libcxx-builders"
Louis Dionne877e97a2021-07-12 20:25:2962 os: "linux"
Mark de Weverae103002021-04-04 18:11:4863 retry:
64 automatic:
65 - exit_status: -1 # Agent was lost
66 limit: 2
Louis Dionned232ec32021-08-09 13:42:2467 timeout_in_minutes: 120
Mark de Weverae103002021-04-04 18:11:4868
Matheus Izvekov55e60782022-09-16 09:37:5569 - label: "Documentation"
70 command: "libcxx/utils/ci/run-buildbot documentation"
71 artifact_paths:
72 - "**/test-results.xml"
Louis Dionne3058cb72023-02-07 02:59:1973 env:
74 CC: "clang-${LLVM_HEAD_VERSION}"
75 CXX: "clang++-${LLVM_HEAD_VERSION}"
Matheus Izvekov55e60782022-09-16 09:37:5576 agents:
77 queue: "libcxx-builders"
78 os: "linux"
79 retry:
80 automatic:
81 - exit_status: -1 # Agent was lost
82 limit: 2
83 timeout_in_minutes: 120
84
Louis Dionne2704d0a2021-04-20 12:35:3985 #
86 # General testing with the default configuration, under all the supported
Louis Dionneac8b7122021-04-21 21:12:0187 # Standard modes, with Clang and GCC. This catches most issues upfront.
88 # The goal of this step is to catch most issues while being very fast.
Louis Dionne2704d0a2021-04-20 12:35:3989 #
Mark de Weverae103002021-04-04 18:11:4890 - wait
91
Mark de Wever37fc37d2022-10-19 18:01:5792 - label: "GCC ${GCC_STABLE_VERSION} / C++latest"
93 command: "libcxx/utils/ci/run-buildbot generic-gcc"
94 artifact_paths:
95 - "**/test-results.xml"
96 - "**/*.abilist"
97 env:
98 CC: "gcc-${GCC_STABLE_VERSION}"
99 CXX: "g++-${GCC_STABLE_VERSION}"
100 agents:
101 queue: "libcxx-builders"
102 os: "linux"
103 retry:
104 automatic:
105 - exit_status: -1 # Agent was lost
106 limit: 2
107 timeout_in_minutes: 120
108
Matheus Izvekov55e60782022-09-16 09:37:55109 - label: "C++2b"
110 command: "libcxx/utils/ci/run-buildbot generic-cxx2b"
111 artifact_paths:
112 - "**/test-results.xml"
113 - "**/*.abilist"
114 env:
115 CC: "clang-${LLVM_HEAD_VERSION}"
116 CXX: "clang++-${LLVM_HEAD_VERSION}"
Nikolas Klauser5f681272023-01-09 16:45:45117 ENABLE_CLANG_TIDY: "On"
Matheus Izvekov55e60782022-09-16 09:37:55118 agents:
119 queue: "libcxx-builders"
120 os: "linux"
121 retry:
122 automatic:
123 - exit_status: -1 # Agent was lost
124 limit: 2
125 timeout_in_minutes: 120
126
Mark de Wever37fc37d2022-10-19 18:01:57127 - label: "Modular build"
128 command: "libcxx/utils/ci/run-buildbot generic-modules"
129 artifact_paths:
130 - "**/test-results.xml"
131 - "**/*.abilist"
132 env:
133 CC: "clang-${LLVM_HEAD_VERSION}"
134 CXX: "clang++-${LLVM_HEAD_VERSION}"
135 agents:
136 queue: "libcxx-builders"
137 os: "linux"
138 retry:
139 automatic:
140 - exit_status: -1 # Agent was lost
141 limit: 2
142 timeout_in_minutes: 120
143
Matheus Izvekov55e60782022-09-16 09:37:55144 - label: "C++11"
145 command: "libcxx/utils/ci/run-buildbot generic-cxx11"
146 artifact_paths:
147 - "**/test-results.xml"
148 - "**/*.abilist"
149 env:
150 CC: "clang-${LLVM_HEAD_VERSION}"
151 CXX: "clang++-${LLVM_HEAD_VERSION}"
Nikolas Klauser5f681272023-01-09 16:45:45152 ENABLE_CLANG_TIDY: "On"
Matheus Izvekov55e60782022-09-16 09:37:55153 agents:
154 queue: "libcxx-builders"
155 os: "linux"
156 retry:
157 automatic:
158 - exit_status: -1 # Agent was lost
159 limit: 2
160 timeout_in_minutes: 120
161
162 - label: "C++03"
163 command: "libcxx/utils/ci/run-buildbot generic-cxx03"
164 artifact_paths:
165 - "**/test-results.xml"
166 - "**/*.abilist"
167 env:
168 CC: "clang-${LLVM_HEAD_VERSION}"
169 CXX: "clang++-${LLVM_HEAD_VERSION}"
Nikolas Klauser5f681272023-01-09 16:45:45170 ENABLE_CLANG_TIDY: "On"
Matheus Izvekov55e60782022-09-16 09:37:55171 agents:
172 queue: "libcxx-builders"
173 os: "linux"
174 retry:
175 automatic:
176 - exit_status: -1 # Agent was lost
177 limit: 2
178 timeout_in_minutes: 120
179
Matheus Izvekov55e60782022-09-16 09:37:55180 #
181 # All other supported configurations of libc++.
182 #
183 - wait
184
185 - label: "C++20"
186 command: "libcxx/utils/ci/run-buildbot generic-cxx20"
187 artifact_paths:
188 - "**/test-results.xml"
189 - "**/*.abilist"
190 env:
191 CC: "clang-${LLVM_HEAD_VERSION}"
192 CXX: "clang++-${LLVM_HEAD_VERSION}"
Nikolas Klauser5f681272023-01-09 16:45:45193 ENABLE_CLANG_TIDY: "On"
Matheus Izvekov55e60782022-09-16 09:37:55194 agents:
195 queue: "libcxx-builders"
196 os: "linux"
197 retry:
198 automatic:
199 - exit_status: -1 # Agent was lost
200 limit: 2
201 timeout_in_minutes: 120
202
203 - label: "C++17"
204 command: "libcxx/utils/ci/run-buildbot generic-cxx17"
205 artifact_paths:
206 - "**/test-results.xml"
207 - "**/*.abilist"
208 env:
Mark de Wever8b3a9072022-08-27 11:43:51209 CC: "clang-${LLVM_HEAD_VERSION}"
210 CXX: "clang++-${LLVM_HEAD_VERSION}"
Nikolas Klauser5f681272023-01-09 16:45:45211 ENABLE_CLANG_TIDY: "On"
Matheus Izvekov55e60782022-09-16 09:37:55212 agents:
213 queue: "libcxx-builders"
214 os: "linux"
215 retry:
216 automatic:
217 - exit_status: -1 # Agent was lost
218 limit: 2
219 timeout_in_minutes: 120
220
221 - label: "C++14"
222 command: "libcxx/utils/ci/run-buildbot generic-cxx14"
223 artifact_paths:
224 - "**/test-results.xml"
225 - "**/*.abilist"
226 env:
227 CC: "clang-${LLVM_HEAD_VERSION}"
228 CXX: "clang++-${LLVM_HEAD_VERSION}"
Nikolas Klauser5f681272023-01-09 16:45:45229 ENABLE_CLANG_TIDY: "On"
Matheus Izvekov55e60782022-09-16 09:37:55230 agents:
231 queue: "libcxx-builders"
232 os: "linux"
233 retry:
234 automatic:
235 - exit_status: -1 # Agent was lost
236 limit: 2
237 timeout_in_minutes: 120
238
239 # Tests with the supported compilers.
240 - label: "GCC ${GCC_STABLE_VERSION} / C++11"
241 command: "libcxx/utils/ci/run-buildbot generic-gcc-cxx11"
242 artifact_paths:
243 - "**/test-results.xml"
244 - "**/*.abilist"
245 env:
246 CC: "gcc-${GCC_STABLE_VERSION}"
247 CXX: "g++-${GCC_STABLE_VERSION}"
248 agents:
249 queue: "libcxx-builders"
250 os: "linux"
251 retry:
252 automatic:
253 - exit_status: -1 # Agent was lost
254 limit: 2
255 timeout_in_minutes: 120
256
Mark de Wevera41e1ea2023-02-07 10:10:24257 - label: "Clang 15"
Matheus Izvekov55e60782022-09-16 09:37:55258 command: "libcxx/utils/ci/run-buildbot generic-cxx2b"
259 artifact_paths:
260 - "**/test-results.xml"
261 - "**/*.abilist"
262 env:
Mark de Wevera41e1ea2023-02-07 10:10:24263 CC: "clang-15"
264 CXX: "clang++-15"
Matheus Izvekov55e60782022-09-16 09:37:55265 agents:
266 queue: "libcxx-builders"
267 os: "linux"
268 retry:
269 automatic:
270 - exit_status: -1 # Agent was lost
271 limit: 2
272 timeout_in_minutes: 120
273
Mark de Wevera41e1ea2023-02-07 10:10:24274 - label: "Clang 16"
Matheus Izvekov55e60782022-09-16 09:37:55275 command: "libcxx/utils/ci/run-buildbot generic-cxx2b"
276 artifact_paths:
277 - "**/test-results.xml"
278 - "**/*.abilist"
279 env:
Mark de Wevera41e1ea2023-02-07 10:10:24280 CC: "clang-16"
281 CXX: "clang++-16"
Matheus Izvekov55e60782022-09-16 09:37:55282 agents:
283 queue: "libcxx-builders"
284 os: "linux"
285 retry:
286 automatic:
287 - exit_status: -1 # Agent was lost
288 limit: 2
289 timeout_in_minutes: 120
290
291 # Tests with the sanitizers.
292 - group: "Sanitizers"
293 steps:
294 - label: "ASAN"
295 command: "libcxx/utils/ci/run-buildbot generic-asan"
296 artifact_paths:
297 - "**/test-results.xml"
298 - "**/*.abilist"
299 env:
300 CC: "clang-${LLVM_HEAD_VERSION}"
301 CXX: "clang++-${LLVM_HEAD_VERSION}"
302 agents:
303 queue: "libcxx-builders"
304 os: "linux"
305 retry:
306 automatic:
307 - exit_status: -1 # Agent was lost
308 limit: 2
309 timeout_in_minutes: 120
310
311 - label: "TSAN"
312 command: "libcxx/utils/ci/run-buildbot generic-tsan"
313 artifact_paths:
314 - "**/test-results.xml"
315 - "**/*.abilist"
316 env:
317 CC: "clang-${LLVM_HEAD_VERSION}"
318 CXX: "clang++-${LLVM_HEAD_VERSION}"
319 agents:
320 queue: "libcxx-builders"
321 os: "linux"
322 retry:
323 automatic:
324 - exit_status: -1 # Agent was lost
325 limit: 2
326 timeout_in_minutes: 120
327
328 - label: "UBSAN"
329 command: "libcxx/utils/ci/run-buildbot generic-ubsan"
330 artifact_paths:
331 - "**/test-results.xml"
332 - "**/*.abilist"
333 env:
334 CC: "clang-${LLVM_HEAD_VERSION}"
335 CXX: "clang++-${LLVM_HEAD_VERSION}"
336 agents:
337 queue: "libcxx-builders"
338 os: "linux"
339 retry:
340 automatic:
341 - exit_status: -1 # Agent was lost
342 limit: 2
343 timeout_in_minutes: 120
344
345 - label: "MSAN"
346 command: "libcxx/utils/ci/run-buildbot generic-msan"
347 artifact_paths:
348 - "**/test-results.xml"
349 - "**/*.abilist"
350 env:
351 CC: "clang-${LLVM_HEAD_VERSION}"
352 CXX: "clang++-${LLVM_HEAD_VERSION}"
353 agents:
354 queue: "libcxx-builders"
355 os: "linux"
356 retry:
357 automatic:
358 - exit_status: -1 # Agent was lost
359 limit: 2
360 timeout_in_minutes: 120
361
Louis Dionnec7b255e2022-01-24 20:49:56362 # Tests with the various supported ways to build libc++.
363 - label: "Bootstrapping build"
364 command: "libcxx/utils/ci/run-buildbot bootstrapping-build"
365 artifact_paths:
366 - "**/test-results.xml"
Louis Dionne6c80e382022-02-17 15:00:29367 - "**/*.abilist"
Matheus Izvekov94c6dfb2022-09-01 02:17:06368 - "**/crash_diagnostics/*"
Mark de Weverca04b492022-08-04 15:29:25369 env:
370 CC: "clang-${LLVM_HEAD_VERSION}"
371 CXX: "clang++-${LLVM_HEAD_VERSION}"
Matheus Izvekov3012a0c2022-08-28 14:19:02372 LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}"
Matheus Izvekov94c6dfb2022-09-01 02:17:06373 CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
Louis Dionnec7b255e2022-01-24 20:49:56374 agents:
375 queue: "libcxx-builders"
376 os: "linux"
377 retry:
378 automatic:
379 - exit_status: -1 # Agent was lost
380 limit: 2
381 timeout_in_minutes: 120
Matheus Izvekov55e60782022-09-16 09:37:55382
Matheus Izvekov55e60782022-09-16 09:37:55383 # Tests with various build configurations.
384 - label: "Static libraries"
385 command: "libcxx/utils/ci/run-buildbot generic-static"
386 artifact_paths:
387 - "**/test-results.xml"
388 - "**/*.abilist"
389 env:
390 CC: "clang-${LLVM_HEAD_VERSION}"
391 CXX: "clang++-${LLVM_HEAD_VERSION}"
392 agents:
393 queue: "libcxx-builders"
394 os: "linux"
395 retry:
396 automatic:
397 - exit_status: -1 # Agent was lost
398 limit: 2
399 timeout_in_minutes: 120
400
401 - label: "Shared library with merged ABI and unwinder libraries"
402 command: "libcxx/utils/ci/run-buildbot generic-merged"
403 artifact_paths:
404 - "**/test-results.xml"
405 - "**/*.abilist"
406 env:
407 CC: "clang-${LLVM_HEAD_VERSION}"
408 CXX: "clang++-${LLVM_HEAD_VERSION}"
409 agents:
410 queue: "libcxx-builders"
411 os: "linux"
412 retry:
413 automatic:
414 - exit_status: -1 # Agent was lost
415 limit: 2
416 timeout_in_minutes: 120
417
418 - label: "Assertions enabled"
419 command: "libcxx/utils/ci/run-buildbot generic-assertions"
420 artifact_paths:
421 - "**/test-results.xml"
422 - "**/*.abilist"
423 env:
424 CC: "clang-${LLVM_HEAD_VERSION}"
425 CXX: "clang++-${LLVM_HEAD_VERSION}"
426 agents:
427 queue: "libcxx-builders"
428 os: "linux"
429 retry:
430 automatic:
431 - exit_status: -1 # Agent was lost
432 limit: 2
433 timeout_in_minutes: 120
434
435 - label: "Debug mode"
436 command: "libcxx/utils/ci/run-buildbot generic-debug-mode"
437 artifact_paths:
438 - "**/test-results.xml"
439 - "**/*.abilist"
440 env:
441 CC: "clang-${LLVM_HEAD_VERSION}"
442 CXX: "clang++-${LLVM_HEAD_VERSION}"
443 agents:
444 queue: "libcxx-builders"
445 os: "linux"
446 retry:
447 automatic:
448 - exit_status: -1 # Agent was lost
449 limit: 2
450 timeout_in_minutes: 120
451
Matheus Izvekov55e60782022-09-16 09:37:55452 - label: "With LLVM's libunwind"
453 command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder"
454 artifact_paths:
455 - "**/test-results.xml"
456 - "**/*.abilist"
457 env:
458 CC: "clang-${LLVM_HEAD_VERSION}"
459 CXX: "clang++-${LLVM_HEAD_VERSION}"
460 agents:
461 queue: "libcxx-builders"
462 os: "linux"
463 retry:
464 automatic:
465 - exit_status: -1 # Agent was lost
466 limit: 2
467 timeout_in_minutes: 120
468
Louis Dionne3a0f88c2023-02-02 23:50:10469 - label: "Modular build with Local Submodule Visibility"
470 command: "libcxx/utils/ci/run-buildbot generic-modules-lsv"
471 artifact_paths:
472 - "**/test-results.xml"
473 - "**/*.abilist"
474 env:
475 CC: "clang-${LLVM_HEAD_VERSION}"
476 CXX: "clang++-${LLVM_HEAD_VERSION}"
477 agents:
478 queue: "libcxx-builders"
479 os: "linux"
480 retry:
481 automatic:
482 - exit_status: -1 # Agent was lost
483 limit: 2
484 timeout_in_minutes: 120
485
Matheus Izvekov55e60782022-09-16 09:37:55486 - group: "Parts disabled"
487 steps:
488 - label: "No threads"
489 command: "libcxx/utils/ci/run-buildbot generic-no-threads"
490 artifact_paths:
491 - "**/test-results.xml"
492 - "**/*.abilist"
493 env:
494 CC: "clang-${LLVM_HEAD_VERSION}"
495 CXX: "clang++-${LLVM_HEAD_VERSION}"
496 agents:
497 queue: "libcxx-builders"
498 os: "linux"
499 retry:
500 automatic:
501 - exit_status: -1 # Agent was lost
502 limit: 2
503 timeout_in_minutes: 120
504
505 - label: "No filesystem"
506 command: "libcxx/utils/ci/run-buildbot generic-no-filesystem"
507 artifact_paths:
508 - "**/test-results.xml"
509 - "**/*.abilist"
510 env:
511 CC: "clang-${LLVM_HEAD_VERSION}"
512 CXX: "clang++-${LLVM_HEAD_VERSION}"
513 agents:
514 queue: "libcxx-builders"
515 os: "linux"
516 retry:
517 automatic:
518 - exit_status: -1 # Agent was lost
519 limit: 2
520 timeout_in_minutes: 120
521
522 - label: "No random device"
523 command: "libcxx/utils/ci/run-buildbot generic-no-random_device"
524 artifact_paths:
525 - "**/test-results.xml"
526 - "**/*.abilist"
527 env:
528 CC: "clang-${LLVM_HEAD_VERSION}"
529 CXX: "clang++-${LLVM_HEAD_VERSION}"
530 agents:
531 queue: "libcxx-builders"
532 os: "linux"
533 retry:
534 automatic:
535 - exit_status: -1 # Agent was lost
536 limit: 2
537 timeout_in_minutes: 120
538
Louis Dionneaf8c49d2022-11-18 20:01:33539 - label: "No fstream"
540 command: "libcxx/utils/ci/run-buildbot generic-no-fstream"
541 artifact_paths:
542 - "**/test-results.xml"
543 - "**/*.abilist"
544 env:
545 CC: "clang-${LLVM_HEAD_VERSION}"
546 CXX: "clang++-${LLVM_HEAD_VERSION}"
547 agents:
548 queue: "libcxx-builders"
549 os: "linux"
550 retry:
551 automatic:
552 - exit_status: -1 # Agent was lost
553 limit: 2
554 timeout_in_minutes: 120
555
Matheus Izvekov55e60782022-09-16 09:37:55556 - label: "No locale"
557 command: "libcxx/utils/ci/run-buildbot generic-no-localization"
558 artifact_paths:
559 - "**/test-results.xml"
560 - "**/*.abilist"
561 env:
562 CC: "clang-${LLVM_HEAD_VERSION}"
563 CXX: "clang++-${LLVM_HEAD_VERSION}"
564 agents:
565 queue: "libcxx-builders"
566 os: "linux"
567 retry:
568 automatic:
569 - exit_status: -1 # Agent was lost
570 limit: 2
571 timeout_in_minutes: 120
572
573 - label: "No Unicode"
574 command: "libcxx/utils/ci/run-buildbot generic-no-unicode"
575 artifact_paths:
576 - "**/test-results.xml"
577 - "**/*.abilist"
578 env:
579 CC: "clang-${LLVM_HEAD_VERSION}"
580 CXX: "clang++-${LLVM_HEAD_VERSION}"
581 agents:
582 queue: "libcxx-builders"
583 os: "linux"
584 retry:
585 automatic:
586 - exit_status: -1 # Agent was lost
587 limit: 2
588 timeout_in_minutes: 120
589
590 - label: "No wide characters"
591 command: "libcxx/utils/ci/run-buildbot generic-no-wide-characters"
592 artifact_paths:
593 - "**/test-results.xml"
594 - "**/*.abilist"
595 env:
596 CC: "clang-${LLVM_HEAD_VERSION}"
597 CXX: "clang++-${LLVM_HEAD_VERSION}"
598 agents:
599 queue: "libcxx-builders"
600 os: "linux"
601 retry:
602 automatic:
603 - exit_status: -1 # Agent was lost
604 limit: 2
605 timeout_in_minutes: 120
606
607 - label: "No experimental features"
608 command: "libcxx/utils/ci/run-buildbot generic-no-experimental"
609 artifact_paths:
610 - "**/test-results.xml"
611 - "**/*.abilist"
612 env:
613 CC: "clang-${LLVM_HEAD_VERSION}"
614 CXX: "clang++-${LLVM_HEAD_VERSION}"
615 agents:
616 queue: "libcxx-builders"
617 os: "linux"
618 retry:
619 automatic:
620 - exit_status: -1 # Agent was lost
621 limit: 2
622 timeout_in_minutes: 120
623
624 - label: "No exceptions"
625 command: "libcxx/utils/ci/run-buildbot generic-noexceptions"
626 artifact_paths:
627 - "**/test-results.xml"
628 - "**/*.abilist"
629 env:
630 CC: "clang-${LLVM_HEAD_VERSION}"
631 CXX: "clang++-${LLVM_HEAD_VERSION}"
632 agents:
633 queue: "libcxx-builders"
634 os: "linux"
635 retry:
636 automatic:
637 - exit_status: -1 # Agent was lost
638 limit: 2
639 timeout_in_minutes: 120
640
641 - label: "Unstable ABI"
642 command: "libcxx/utils/ci/run-buildbot generic-abi-unstable"
643 artifact_paths:
644 - "**/test-results.xml"
645 - "**/*.abilist"
646 env:
647 CC: "clang-${LLVM_HEAD_VERSION}"
648 CXX: "clang++-${LLVM_HEAD_VERSION}"
649 agents:
650 queue: "libcxx-builders"
651 os: "linux"
652 retry:
653 automatic:
654 - exit_status: -1 # Agent was lost
655 limit: 2
656 timeout_in_minutes: 120
657
658 # Other non-testing CI jobs
659 - label: "Benchmarks"
660 command: "libcxx/utils/ci/run-buildbot benchmarks"
661 artifact_paths:
662 - "**/test-results.xml"
663 - "**/*.abilist"
664 env:
665 CC: "clang-${LLVM_HEAD_VERSION}"
666 CXX: "clang++-${LLVM_HEAD_VERSION}"
667 agents:
668 queue: "libcxx-builders"
669 os: "linux"
670 retry:
671 automatic:
672 - exit_status: -1 # Agent was lost
673 limit: 2
674 timeout_in_minutes: 120
675
676 # Tests on non-Unix platforms
677 - group: ":windows: Windows"
678 steps:
679 - label: "Clang-cl (DLL)"
680 command: "bash libcxx/utils/ci/run-buildbot clang-cl-dll"
681 artifact_paths:
682 - "**/test-results.xml"
683 - "**/*.abilist"
684 agents:
685 queue: "windows"
686 retry:
687 automatic:
688 - exit_status: -1 # Agent was lost
689 limit: 2
690 timeout_in_minutes: 120
691
692 - label: "Clang-cl (Static)"
693 command: "bash libcxx/utils/ci/run-buildbot clang-cl-static"
694 artifact_paths:
695 - "**/test-results.xml"
696 - "**/*.abilist"
697 agents:
698 queue: "windows"
699 retry:
700 automatic:
701 - exit_status: -1 # Agent was lost
702 limit: 2
703 timeout_in_minutes: 120
704
705 - label: "Clang-cl (no vcruntime exceptions)"
706 command: "bash libcxx/utils/ci/run-buildbot clang-cl-no-vcruntime"
707 artifact_paths:
708 - "**/test-results.xml"
709 - "**/*.abilist"
710 agents:
711 queue: "windows"
712 retry:
713 automatic:
714 - exit_status: -1 # Agent was lost
715 limit: 2
716
717 - label: "MinGW (DLL, x86_64)"
718 command: "bash libcxx/utils/ci/run-buildbot mingw-dll"
719 artifact_paths:
720 - "**/test-results.xml"
721 - "**/*.abilist"
722 agents:
723 queue: "windows"
724 retry:
725 automatic:
726 - exit_status: -1 # Agent was lost
727 limit: 2
728 timeout_in_minutes: 120
729
730 - label: "MinGW (Static, x86_64)"
731 command: "bash libcxx/utils/ci/run-buildbot mingw-static"
732 artifact_paths:
733 - "**/test-results.xml"
734 - "**/*.abilist"
735 agents:
736 queue: "windows"
737 retry:
738 automatic:
739 - exit_status: -1 # Agent was lost
740 limit: 2
741 timeout_in_minutes: 120
742
743 - label: "MinGW (DLL, i686)"
744 command: "bash libcxx/utils/ci/run-buildbot mingw-dll-i686"
745 artifact_paths:
746 - "**/test-results.xml"
747 - "**/*.abilist"
748 agents:
749 queue: "windows"
750 retry:
751 automatic:
752 - exit_status: -1 # Agent was lost
753 limit: 2
754 timeout_in_minutes: 120
755
756 - group: ":apple: Apple"
757 steps:
758 - label: "MacOS x86_64"
Nikolas Klauser841399a2022-08-13 20:33:12759 command: "libcxx/utils/ci/run-buildbot apple-cxx20"
Matheus Izvekov55e60782022-09-16 09:37:55760 artifact_paths:
761 - "**/test-results.xml"
762 - "**/*.abilist"
763 agents:
764 queue: "libcxx-builders"
765 os: "macos"
766 arch: "x86_64"
767 retry:
768 automatic:
769 - exit_status: -1 # Agent was lost
770 limit: 2
771 timeout_in_minutes: 120
772
773 - label: "MacOS arm64"
Nikolas Klauser841399a2022-08-13 20:33:12774 command: "libcxx/utils/ci/run-buildbot apple-cxx20"
Matheus Izvekov55e60782022-09-16 09:37:55775 artifact_paths:
776 - "**/test-results.xml"
777 - "**/*.abilist"
778 agents:
779 queue: "libcxx-builders"
780 os: "macos"
781 arch: "arm64"
782 retry:
783 automatic:
784 - exit_status: -1 # Agent was lost
785 limit: 2
786 timeout_in_minutes: 120
787
788 # Build with the configuration we use to generate libc++.dylib on Apple platforms
789 - label: "Apple system"
790 command: "libcxx/utils/ci/run-buildbot apple-system"
791 artifact_paths:
792 - "**/test-results.xml"
793 - "**/*.abilist"
794 agents:
795 queue: "libcxx-builders"
796 os: "macos"
797 arch: "arm64" # This can technically run on any architecture, but we have more resources on arm64 so we pin this job to arm64
798 retry:
799 automatic:
800 - exit_status: -1 # Agent was lost
801 limit: 2
802 timeout_in_minutes: 120
803
804 # Test back-deployment to older Apple platforms
805 - label: "Apple back-deployment macosx10.9"
806 command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-10.9"
807 artifact_paths:
808 - "**/test-results.xml"
809 - "**/*.abilist"
810 agents:
811 queue: "libcxx-builders"
812 os: "macos"
813 arch: "x86_64" # We need to use x86_64 for back-deployment CI on this target since macOS didn't support arm64 back then.
814 retry:
815 automatic:
816 - exit_status: -1 # Agent was lost
817 limit: 2
818 timeout_in_minutes: 120
819
820 - label: "Apple back-deployment macosx10.15"
821 command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-10.15"
822 artifact_paths:
823 - "**/test-results.xml"
824 - "**/*.abilist"
825 agents:
826 queue: "libcxx-builders"
827 os: "macos"
828 arch: "x86_64" # We need to use x86_64 for back-deployment CI on this target since macOS didn't support arm64 back then.
829 retry:
830 automatic:
831 - exit_status: -1 # Agent was lost
832 limit: 2
833 timeout_in_minutes: 120
834
835 - label: "Apple back-deployment macosx11.0 arm64"
836 command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-11.0"
837 artifact_paths:
838 - "**/test-results.xml"
839 - "**/*.abilist"
840 agents:
841 queue: "libcxx-builders"
842 os: "macos"
843 arch: "arm64"
844 retry:
845 automatic:
846 - exit_status: -1 # Agent was lost
847 limit: 2
848 timeout_in_minutes: 120
849
850 - label: "Apple back-deployment with assertions enabled"
851 command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-assertions-11.0"
852 artifact_paths:
853 - "**/test-results.xml"
854 - "**/*.abilist"
855 agents:
856 queue: "libcxx-builders"
857 os: "macos"
858 retry:
859 automatic:
860 - exit_status: -1 # Agent was lost
861 limit: 2
862 timeout_in_minutes: 120
863
864 - group: "ARM"
865 steps:
866 - label: "AArch64"
867 command: "libcxx/utils/ci/run-buildbot aarch64"
868 artifact_paths:
869 - "**/test-results.xml"
870 - "**/*.abilist"
871 agents:
872 queue: "libcxx-builders-linaro-arm"
873 arch: "aarch64"
874 retry:
875 automatic:
876 - exit_status: -1 # Agent was lost
877 limit: 2
878 timeout_in_minutes: 120
879
880 - label: "AArch64 -fno-exceptions"
881 command: "libcxx/utils/ci/run-buildbot aarch64-noexceptions"
882 artifact_paths:
883 - "**/test-results.xml"
884 - "**/*.abilist"
885 agents:
886 queue: "libcxx-builders-linaro-arm"
887 arch: "aarch64"
888 retry:
889 automatic:
890 - exit_status: -1 # Agent was lost
891 limit: 2
892 timeout_in_minutes: 120
893
894 - label: "Armv8"
895 command: "libcxx/utils/ci/run-buildbot armv8"
896 artifact_paths:
897 - "**/test-results.xml"
898 - "**/*.abilist"
899 agents:
900 queue: "libcxx-builders-linaro-arm"
901 arch: "armv8l"
902 retry:
903 automatic:
904 - exit_status: -1 # Agent was lost
905 limit: 2
906 timeout_in_minutes: 120
907
908 - label: "Armv8 -fno-exceptions"
909 command: "libcxx/utils/ci/run-buildbot armv8-noexceptions"
910 artifact_paths:
911 - "**/test-results.xml"
912 - "**/*.abilist"
913 agents:
914 queue: "libcxx-builders-linaro-arm"
915 arch: "armv8l"
916 retry:
917 automatic:
918 - exit_status: -1 # Agent was lost
919 limit: 2
920 timeout_in_minutes: 120
921
922 - label: "Armv7"
923 command: "libcxx/utils/ci/run-buildbot armv7"
924 artifact_paths:
925 - "**/test-results.xml"
926 - "**/*.abilist"
927 agents:
928 queue: "libcxx-builders-linaro-arm"
929 arch: "armv8l" # Compiling for v7, running on v8 hardware
930 retry:
931 automatic:
932 - exit_status: -1 # Agent was lost
933 limit: 2
934 timeout_in_minutes: 120
935
936 - label: "Armv7 -fno-exceptions"
937 command: "libcxx/utils/ci/run-buildbot armv7-noexceptions"
938 artifact_paths:
939 - "**/test-results.xml"
940 - "**/*.abilist"
941 agents:
942 queue: "libcxx-builders-linaro-arm"
943 arch: "armv8l" # Compiling for v7, running on v8 hardware
944 retry:
945 automatic:
946 - exit_status: -1 # Agent was lost
947 limit: 2
948 timeout_in_minutes: 120
949
950 - group: "AIX"
951 steps:
952 - label: "AIX (32-bit)"
953 command: "libcxx/utils/ci/run-buildbot aix"
954 artifact_paths:
955 - "**/test-results.xml"
956 - "**/*.abilist"
957 env:
958 CC: "clang"
959 CXX: "clang++"
960 OBJECT_MODE: "32"
961 agents:
962 queue: libcxx-builders
963 os: aix
964 retry:
965 automatic:
966 - exit_status: -1 # Agent was lost
967 limit: 2
968 timeout_in_minutes: 120
969
970 - label: "AIX (64-bit)"
971 command: "libcxx/utils/ci/run-buildbot aix"
972 artifact_paths:
973 - "**/test-results.xml"
974 - "**/*.abilist"
975 env:
976 CC: "clang"
977 CXX: "clang++"
978 OBJECT_MODE: "64"
979 agents:
980 queue: libcxx-builders
981 os: aix
982 retry:
983 automatic:
984 - exit_status: -1 # Agent was lost
985 limit: 2
986 timeout_in_minutes: 120