Louis Dionne | 9f21d34 | 2020-09-23 13:20:03 | [diff] [blame] | 1 | #===----------------------------------------------------------------------===## |
| 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 Dionne | 2704d0a | 2021-04-20 12:35:39 | [diff] [blame] | 16 | # 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 Dionne | 9f21d34 | 2020-09-23 13:20:03 | [diff] [blame] | 19 | |
Mark de Wever | ca04b49 | 2022-08-04 15:29:25 | [diff] [blame] | 20 | # 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. |
| 25 | env: |
| 26 | LLVM_HEAD_VERSION: "16" |
| 27 | GCC_STABLE_VERSION: "12" |
Louis Dionne | 9f21d34 | 2020-09-23 13:20:03 | [diff] [blame] | 28 | steps: |
Louis Dionne | 2704d0a | 2021-04-20 12:35:39 | [diff] [blame] | 29 | # |
| 30 | # Light pre-commit tests for things like formatting or when people forget |
| 31 | # to update generated files. |
| 32 | # |
Marek Kurdej | 1361c5e | 2021-02-04 20:13:22 | [diff] [blame] | 33 | - label: "Format" |
| 34 | command: "libcxx/utils/ci/run-buildbot check-format" |
| 35 | artifact_paths: |
| 36 | - "**/clang-format.patch" |
| 37 | agents: |
Louis Dionne | 1b88557 | 2021-04-30 18:07:08 | [diff] [blame] | 38 | queue: "libcxx-builders" |
Louis Dionne | 877e97a | 2021-07-12 20:25:29 | [diff] [blame] | 39 | os: "linux" |
Marek Kurdej | 1361c5e | 2021-02-04 20:13:22 | [diff] [blame] | 40 | retry: |
| 41 | automatic: |
| 42 | - exit_status: -1 # Agent was lost |
| 43 | limit: 2 |
| 44 | soft_fail: |
| 45 | - exit_status: 1 |
Louis Dionne | d232ec3 | 2021-08-09 13:42:24 | [diff] [blame] | 46 | timeout_in_minutes: 120 |
Marek Kurdej | 1361c5e | 2021-02-04 20:13:22 | [diff] [blame] | 47 | |
Mark de Wever | ae10300 | 2021-04-04 18:11:48 | [diff] [blame] | 48 | - label: "Generated output" |
| 49 | command: "libcxx/utils/ci/run-buildbot check-generated-output" |
| 50 | artifact_paths: |
| 51 | - "**/generated_output.patch" |
Mark de Wever | 1139fd4 | 2021-07-22 09:17:53 | [diff] [blame] | 52 | - "**/generated_output.status" |
Mark de Wever | ae10300 | 2021-04-04 18:11:48 | [diff] [blame] | 53 | agents: |
Louis Dionne | 1b88557 | 2021-04-30 18:07:08 | [diff] [blame] | 54 | queue: "libcxx-builders" |
Louis Dionne | 877e97a | 2021-07-12 20:25:29 | [diff] [blame] | 55 | os: "linux" |
Mark de Wever | ae10300 | 2021-04-04 18:11:48 | [diff] [blame] | 56 | retry: |
| 57 | automatic: |
| 58 | - exit_status: -1 # Agent was lost |
| 59 | limit: 2 |
Louis Dionne | d232ec3 | 2021-08-09 13:42:24 | [diff] [blame] | 60 | timeout_in_minutes: 120 |
Mark de Wever | ae10300 | 2021-04-04 18:11:48 | [diff] [blame] | 61 | |
Matheus Izvekov | 55e6078 | 2022-09-16 09:37:55 | [diff] [blame^] | 62 | - label: "Documentation" |
| 63 | command: "libcxx/utils/ci/run-buildbot documentation" |
| 64 | artifact_paths: |
| 65 | - "**/test-results.xml" |
| 66 | agents: |
| 67 | queue: "libcxx-builders" |
| 68 | os: "linux" |
| 69 | retry: |
| 70 | automatic: |
| 71 | - exit_status: -1 # Agent was lost |
| 72 | limit: 2 |
| 73 | timeout_in_minutes: 120 |
| 74 | |
Louis Dionne | 2704d0a | 2021-04-20 12:35:39 | [diff] [blame] | 75 | # |
| 76 | # General testing with the default configuration, under all the supported |
Louis Dionne | ac8b712 | 2021-04-21 21:12:01 | [diff] [blame] | 77 | # Standard modes, with Clang and GCC. This catches most issues upfront. |
| 78 | # The goal of this step is to catch most issues while being very fast. |
Louis Dionne | 2704d0a | 2021-04-20 12:35:39 | [diff] [blame] | 79 | # |
Mark de Wever | ae10300 | 2021-04-04 18:11:48 | [diff] [blame] | 80 | - wait |
| 81 | |
Matheus Izvekov | 55e6078 | 2022-09-16 09:37:55 | [diff] [blame^] | 82 | - label: "C++2b" |
| 83 | command: "libcxx/utils/ci/run-buildbot generic-cxx2b" |
| 84 | artifact_paths: |
| 85 | - "**/test-results.xml" |
| 86 | - "**/*.abilist" |
| 87 | env: |
| 88 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 89 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 90 | agents: |
| 91 | queue: "libcxx-builders" |
| 92 | os: "linux" |
| 93 | retry: |
| 94 | automatic: |
| 95 | - exit_status: -1 # Agent was lost |
| 96 | limit: 2 |
| 97 | timeout_in_minutes: 120 |
| 98 | |
| 99 | - label: "C++11" |
| 100 | command: "libcxx/utils/ci/run-buildbot generic-cxx11" |
| 101 | artifact_paths: |
| 102 | - "**/test-results.xml" |
| 103 | - "**/*.abilist" |
| 104 | env: |
| 105 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 106 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 107 | agents: |
| 108 | queue: "libcxx-builders" |
| 109 | os: "linux" |
| 110 | retry: |
| 111 | automatic: |
| 112 | - exit_status: -1 # Agent was lost |
| 113 | limit: 2 |
| 114 | timeout_in_minutes: 120 |
| 115 | |
| 116 | - label: "C++03" |
| 117 | command: "libcxx/utils/ci/run-buildbot generic-cxx03" |
| 118 | artifact_paths: |
| 119 | - "**/test-results.xml" |
| 120 | - "**/*.abilist" |
| 121 | env: |
| 122 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 123 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 124 | agents: |
| 125 | queue: "libcxx-builders" |
| 126 | os: "linux" |
| 127 | retry: |
| 128 | automatic: |
| 129 | - exit_status: -1 # Agent was lost |
| 130 | limit: 2 |
| 131 | timeout_in_minutes: 120 |
| 132 | |
| 133 | - label: "Modular build" |
| 134 | command: "libcxx/utils/ci/run-buildbot generic-modules" |
| 135 | artifact_paths: |
| 136 | - "**/test-results.xml" |
| 137 | - "**/*.abilist" |
| 138 | env: |
| 139 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 140 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 141 | agents: |
| 142 | queue: "libcxx-builders" |
| 143 | os: "linux" |
| 144 | retry: |
| 145 | automatic: |
| 146 | - exit_status: -1 # Agent was lost |
| 147 | limit: 2 |
| 148 | timeout_in_minutes: 120 |
| 149 | |
| 150 | - label: "GCC ${GCC_STABLE_VERSION} / C++latest" |
| 151 | command: "libcxx/utils/ci/run-buildbot generic-gcc" |
| 152 | artifact_paths: |
| 153 | - "**/test-results.xml" |
| 154 | - "**/*.abilist" |
| 155 | env: |
| 156 | CC: "gcc-${GCC_STABLE_VERSION}" |
| 157 | CXX: "g++-${GCC_STABLE_VERSION}" |
| 158 | agents: |
| 159 | queue: "libcxx-builders" |
| 160 | os: "linux" |
| 161 | retry: |
| 162 | automatic: |
| 163 | - exit_status: -1 # Agent was lost |
| 164 | limit: 2 |
| 165 | timeout_in_minutes: 120 |
| 166 | |
| 167 | # |
| 168 | # All other supported configurations of libc++. |
| 169 | # |
| 170 | - wait |
| 171 | |
| 172 | - label: "C++20" |
| 173 | command: "libcxx/utils/ci/run-buildbot generic-cxx20" |
| 174 | artifact_paths: |
| 175 | - "**/test-results.xml" |
| 176 | - "**/*.abilist" |
| 177 | env: |
| 178 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 179 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 180 | agents: |
| 181 | queue: "libcxx-builders" |
| 182 | os: "linux" |
| 183 | retry: |
| 184 | automatic: |
| 185 | - exit_status: -1 # Agent was lost |
| 186 | limit: 2 |
| 187 | timeout_in_minutes: 120 |
| 188 | |
| 189 | - label: "C++17" |
| 190 | command: "libcxx/utils/ci/run-buildbot generic-cxx17" |
| 191 | artifact_paths: |
| 192 | - "**/test-results.xml" |
| 193 | - "**/*.abilist" |
| 194 | env: |
| 195 | # TODO (mordante) use head |
| 196 | #CC: "clang-${LLVM_HEAD_VERSION}" |
| 197 | #CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 198 | CC: "clang-15" |
| 199 | CXX: "clang++-15" |
| 200 | agents: |
| 201 | queue: "libcxx-builders" |
| 202 | os: "linux" |
| 203 | retry: |
| 204 | automatic: |
| 205 | - exit_status: -1 # Agent was lost |
| 206 | limit: 2 |
| 207 | timeout_in_minutes: 120 |
| 208 | |
| 209 | - label: "C++14" |
| 210 | command: "libcxx/utils/ci/run-buildbot generic-cxx14" |
| 211 | artifact_paths: |
| 212 | - "**/test-results.xml" |
| 213 | - "**/*.abilist" |
| 214 | env: |
| 215 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 216 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 217 | agents: |
| 218 | queue: "libcxx-builders" |
| 219 | os: "linux" |
| 220 | retry: |
| 221 | automatic: |
| 222 | - exit_status: -1 # Agent was lost |
| 223 | limit: 2 |
| 224 | timeout_in_minutes: 120 |
| 225 | |
| 226 | # Tests with the supported compilers. |
| 227 | - label: "GCC ${GCC_STABLE_VERSION} / C++11" |
| 228 | command: "libcxx/utils/ci/run-buildbot generic-gcc-cxx11" |
| 229 | artifact_paths: |
| 230 | - "**/test-results.xml" |
| 231 | - "**/*.abilist" |
| 232 | env: |
| 233 | CC: "gcc-${GCC_STABLE_VERSION}" |
| 234 | CXX: "g++-${GCC_STABLE_VERSION}" |
| 235 | agents: |
| 236 | queue: "libcxx-builders" |
| 237 | os: "linux" |
| 238 | retry: |
| 239 | automatic: |
| 240 | - exit_status: -1 # Agent was lost |
| 241 | limit: 2 |
| 242 | timeout_in_minutes: 120 |
| 243 | |
| 244 | - label: "Clang 14" |
| 245 | command: "libcxx/utils/ci/run-buildbot generic-cxx2b" |
| 246 | artifact_paths: |
| 247 | - "**/test-results.xml" |
| 248 | - "**/*.abilist" |
| 249 | env: |
| 250 | CC: "clang-14" |
| 251 | CXX: "clang++-14" |
| 252 | agents: |
| 253 | queue: "libcxx-builders" |
| 254 | os: "linux" |
| 255 | retry: |
| 256 | automatic: |
| 257 | - exit_status: -1 # Agent was lost |
| 258 | limit: 2 |
| 259 | timeout_in_minutes: 120 |
| 260 | |
| 261 | - label: "Clang 15" |
| 262 | command: "libcxx/utils/ci/run-buildbot generic-cxx2b" |
| 263 | artifact_paths: |
| 264 | - "**/test-results.xml" |
| 265 | - "**/*.abilist" |
| 266 | env: |
| 267 | CC: "clang-15" |
| 268 | CXX: "clang++-15" |
| 269 | agents: |
| 270 | queue: "libcxx-builders" |
| 271 | os: "linux" |
| 272 | retry: |
| 273 | automatic: |
| 274 | - exit_status: -1 # Agent was lost |
| 275 | limit: 2 |
| 276 | timeout_in_minutes: 120 |
| 277 | |
| 278 | # Tests with the sanitizers. |
| 279 | - group: "Sanitizers" |
| 280 | steps: |
| 281 | - label: "ASAN" |
| 282 | command: "libcxx/utils/ci/run-buildbot generic-asan" |
| 283 | artifact_paths: |
| 284 | - "**/test-results.xml" |
| 285 | - "**/*.abilist" |
| 286 | env: |
| 287 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 288 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 289 | agents: |
| 290 | queue: "libcxx-builders" |
| 291 | os: "linux" |
| 292 | retry: |
| 293 | automatic: |
| 294 | - exit_status: -1 # Agent was lost |
| 295 | limit: 2 |
| 296 | timeout_in_minutes: 120 |
| 297 | |
| 298 | - label: "TSAN" |
| 299 | command: "libcxx/utils/ci/run-buildbot generic-tsan" |
| 300 | artifact_paths: |
| 301 | - "**/test-results.xml" |
| 302 | - "**/*.abilist" |
| 303 | env: |
| 304 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 305 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 306 | agents: |
| 307 | queue: "libcxx-builders" |
| 308 | os: "linux" |
| 309 | retry: |
| 310 | automatic: |
| 311 | - exit_status: -1 # Agent was lost |
| 312 | limit: 2 |
| 313 | timeout_in_minutes: 120 |
| 314 | |
| 315 | - label: "UBSAN" |
| 316 | command: "libcxx/utils/ci/run-buildbot generic-ubsan" |
| 317 | artifact_paths: |
| 318 | - "**/test-results.xml" |
| 319 | - "**/*.abilist" |
| 320 | env: |
| 321 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 322 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 323 | agents: |
| 324 | queue: "libcxx-builders" |
| 325 | os: "linux" |
| 326 | retry: |
| 327 | automatic: |
| 328 | - exit_status: -1 # Agent was lost |
| 329 | limit: 2 |
| 330 | timeout_in_minutes: 120 |
| 331 | |
| 332 | - label: "MSAN" |
| 333 | command: "libcxx/utils/ci/run-buildbot generic-msan" |
| 334 | artifact_paths: |
| 335 | - "**/test-results.xml" |
| 336 | - "**/*.abilist" |
| 337 | env: |
| 338 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 339 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 340 | agents: |
| 341 | queue: "libcxx-builders" |
| 342 | os: "linux" |
| 343 | retry: |
| 344 | automatic: |
| 345 | - exit_status: -1 # Agent was lost |
| 346 | limit: 2 |
| 347 | timeout_in_minutes: 120 |
| 348 | |
Louis Dionne | c7b255e | 2022-01-24 20:49:56 | [diff] [blame] | 349 | # Tests with the various supported ways to build libc++. |
| 350 | - label: "Bootstrapping build" |
| 351 | command: "libcxx/utils/ci/run-buildbot bootstrapping-build" |
| 352 | artifact_paths: |
| 353 | - "**/test-results.xml" |
Louis Dionne | 6c80e38 | 2022-02-17 15:00:29 | [diff] [blame] | 354 | - "**/*.abilist" |
Matheus Izvekov | 94c6dfb | 2022-09-01 02:17:06 | [diff] [blame] | 355 | - "**/crash_diagnostics/*" |
Mark de Wever | ca04b49 | 2022-08-04 15:29:25 | [diff] [blame] | 356 | env: |
| 357 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 358 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
Matheus Izvekov | 3012a0c | 2022-08-28 14:19:02 | [diff] [blame] | 359 | LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}" |
Matheus Izvekov | 94c6dfb | 2022-09-01 02:17:06 | [diff] [blame] | 360 | CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics" |
Louis Dionne | c7b255e | 2022-01-24 20:49:56 | [diff] [blame] | 361 | agents: |
| 362 | queue: "libcxx-builders" |
| 363 | os: "linux" |
| 364 | retry: |
| 365 | automatic: |
| 366 | - exit_status: -1 # Agent was lost |
| 367 | limit: 2 |
| 368 | timeout_in_minutes: 120 |
Matheus Izvekov | 55e6078 | 2022-09-16 09:37:55 | [diff] [blame^] | 369 | |
| 370 | - group: "Legacy" |
| 371 | steps: |
| 372 | - label: "Legacy Lit configuration" |
| 373 | command: "libcxx/utils/ci/run-buildbot legacy-test-config" |
| 374 | artifact_paths: |
| 375 | - "**/test-results.xml" |
| 376 | - "**/*.abilist" |
| 377 | env: |
| 378 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 379 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 380 | agents: |
| 381 | queue: "libcxx-builders" |
| 382 | os: "linux" |
| 383 | retry: |
| 384 | automatic: |
| 385 | - exit_status: -1 # Agent was lost |
| 386 | limit: 2 |
| 387 | timeout_in_minutes: 120 |
| 388 | |
| 389 | - label: "Legacy LLVM_ENABLE_PROJECTS build" |
| 390 | command: "libcxx/utils/ci/run-buildbot legacy-project-build" |
| 391 | artifact_paths: |
| 392 | - "**/test-results.xml" |
| 393 | - "**/*.abilist" |
| 394 | env: |
| 395 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 396 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 397 | agents: |
| 398 | queue: "libcxx-builders" |
| 399 | os: "linux" |
| 400 | retry: |
| 401 | automatic: |
| 402 | - exit_status: -1 # Agent was lost |
| 403 | limit: 2 |
| 404 | timeout_in_minutes: 120 |
| 405 | |
| 406 | # Tests with various build configurations. |
| 407 | - label: "Static libraries" |
| 408 | command: "libcxx/utils/ci/run-buildbot generic-static" |
| 409 | artifact_paths: |
| 410 | - "**/test-results.xml" |
| 411 | - "**/*.abilist" |
| 412 | env: |
| 413 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 414 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 415 | agents: |
| 416 | queue: "libcxx-builders" |
| 417 | os: "linux" |
| 418 | retry: |
| 419 | automatic: |
| 420 | - exit_status: -1 # Agent was lost |
| 421 | limit: 2 |
| 422 | timeout_in_minutes: 120 |
| 423 | |
| 424 | - label: "Shared library with merged ABI and unwinder libraries" |
| 425 | command: "libcxx/utils/ci/run-buildbot generic-merged" |
| 426 | artifact_paths: |
| 427 | - "**/test-results.xml" |
| 428 | - "**/*.abilist" |
| 429 | env: |
| 430 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 431 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 432 | agents: |
| 433 | queue: "libcxx-builders" |
| 434 | os: "linux" |
| 435 | retry: |
| 436 | automatic: |
| 437 | - exit_status: -1 # Agent was lost |
| 438 | limit: 2 |
| 439 | timeout_in_minutes: 120 |
| 440 | |
| 441 | - label: "Assertions enabled" |
| 442 | command: "libcxx/utils/ci/run-buildbot generic-assertions" |
| 443 | artifact_paths: |
| 444 | - "**/test-results.xml" |
| 445 | - "**/*.abilist" |
| 446 | env: |
| 447 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 448 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 449 | agents: |
| 450 | queue: "libcxx-builders" |
| 451 | os: "linux" |
| 452 | retry: |
| 453 | automatic: |
| 454 | - exit_status: -1 # Agent was lost |
| 455 | limit: 2 |
| 456 | timeout_in_minutes: 120 |
| 457 | |
| 458 | - label: "Debug mode" |
| 459 | command: "libcxx/utils/ci/run-buildbot generic-debug-mode" |
| 460 | artifact_paths: |
| 461 | - "**/test-results.xml" |
| 462 | - "**/*.abilist" |
| 463 | env: |
| 464 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 465 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 466 | agents: |
| 467 | queue: "libcxx-builders" |
| 468 | os: "linux" |
| 469 | retry: |
| 470 | automatic: |
| 471 | - exit_status: -1 # Agent was lost |
| 472 | limit: 2 |
| 473 | timeout_in_minutes: 120 |
| 474 | |
| 475 | - label: "No transitive includes" |
| 476 | command: "libcxx/utils/ci/run-buildbot generic-no-transitive-includes" |
| 477 | artifact_paths: |
| 478 | - "**/test-results.xml" |
| 479 | - "**/*.abilist" |
| 480 | env: |
| 481 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 482 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 483 | agents: |
| 484 | queue: "libcxx-builders" |
| 485 | os: "linux" |
| 486 | retry: |
| 487 | automatic: |
| 488 | - exit_status: -1 # Agent was lost |
| 489 | limit: 2 |
| 490 | timeout_in_minutes: 120 |
| 491 | |
| 492 | - label: "With LLVM's libunwind" |
| 493 | command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder" |
| 494 | artifact_paths: |
| 495 | - "**/test-results.xml" |
| 496 | - "**/*.abilist" |
| 497 | env: |
| 498 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 499 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 500 | agents: |
| 501 | queue: "libcxx-builders" |
| 502 | os: "linux" |
| 503 | retry: |
| 504 | automatic: |
| 505 | - exit_status: -1 # Agent was lost |
| 506 | limit: 2 |
| 507 | timeout_in_minutes: 120 |
| 508 | |
| 509 | - group: "Parts disabled" |
| 510 | steps: |
| 511 | - label: "No threads" |
| 512 | command: "libcxx/utils/ci/run-buildbot generic-no-threads" |
| 513 | artifact_paths: |
| 514 | - "**/test-results.xml" |
| 515 | - "**/*.abilist" |
| 516 | env: |
| 517 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 518 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 519 | agents: |
| 520 | queue: "libcxx-builders" |
| 521 | os: "linux" |
| 522 | retry: |
| 523 | automatic: |
| 524 | - exit_status: -1 # Agent was lost |
| 525 | limit: 2 |
| 526 | timeout_in_minutes: 120 |
| 527 | |
| 528 | - label: "No filesystem" |
| 529 | command: "libcxx/utils/ci/run-buildbot generic-no-filesystem" |
| 530 | artifact_paths: |
| 531 | - "**/test-results.xml" |
| 532 | - "**/*.abilist" |
| 533 | env: |
| 534 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 535 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 536 | agents: |
| 537 | queue: "libcxx-builders" |
| 538 | os: "linux" |
| 539 | retry: |
| 540 | automatic: |
| 541 | - exit_status: -1 # Agent was lost |
| 542 | limit: 2 |
| 543 | timeout_in_minutes: 120 |
| 544 | |
| 545 | - label: "No random device" |
| 546 | command: "libcxx/utils/ci/run-buildbot generic-no-random_device" |
| 547 | artifact_paths: |
| 548 | - "**/test-results.xml" |
| 549 | - "**/*.abilist" |
| 550 | env: |
| 551 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 552 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 553 | agents: |
| 554 | queue: "libcxx-builders" |
| 555 | os: "linux" |
| 556 | retry: |
| 557 | automatic: |
| 558 | - exit_status: -1 # Agent was lost |
| 559 | limit: 2 |
| 560 | timeout_in_minutes: 120 |
| 561 | |
| 562 | - label: "No locale" |
| 563 | command: "libcxx/utils/ci/run-buildbot generic-no-localization" |
| 564 | artifact_paths: |
| 565 | - "**/test-results.xml" |
| 566 | - "**/*.abilist" |
| 567 | env: |
| 568 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 569 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 570 | agents: |
| 571 | queue: "libcxx-builders" |
| 572 | os: "linux" |
| 573 | retry: |
| 574 | automatic: |
| 575 | - exit_status: -1 # Agent was lost |
| 576 | limit: 2 |
| 577 | timeout_in_minutes: 120 |
| 578 | |
| 579 | - label: "No Unicode" |
| 580 | command: "libcxx/utils/ci/run-buildbot generic-no-unicode" |
| 581 | artifact_paths: |
| 582 | - "**/test-results.xml" |
| 583 | - "**/*.abilist" |
| 584 | env: |
| 585 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 586 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 587 | agents: |
| 588 | queue: "libcxx-builders" |
| 589 | os: "linux" |
| 590 | retry: |
| 591 | automatic: |
| 592 | - exit_status: -1 # Agent was lost |
| 593 | limit: 2 |
| 594 | timeout_in_minutes: 120 |
| 595 | |
| 596 | - label: "No wide characters" |
| 597 | command: "libcxx/utils/ci/run-buildbot generic-no-wide-characters" |
| 598 | artifact_paths: |
| 599 | - "**/test-results.xml" |
| 600 | - "**/*.abilist" |
| 601 | env: |
| 602 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 603 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 604 | agents: |
| 605 | queue: "libcxx-builders" |
| 606 | os: "linux" |
| 607 | retry: |
| 608 | automatic: |
| 609 | - exit_status: -1 # Agent was lost |
| 610 | limit: 2 |
| 611 | timeout_in_minutes: 120 |
| 612 | |
| 613 | - label: "No experimental features" |
| 614 | command: "libcxx/utils/ci/run-buildbot generic-no-experimental" |
| 615 | artifact_paths: |
| 616 | - "**/test-results.xml" |
| 617 | - "**/*.abilist" |
| 618 | env: |
| 619 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 620 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 621 | agents: |
| 622 | queue: "libcxx-builders" |
| 623 | os: "linux" |
| 624 | retry: |
| 625 | automatic: |
| 626 | - exit_status: -1 # Agent was lost |
| 627 | limit: 2 |
| 628 | timeout_in_minutes: 120 |
| 629 | |
| 630 | - label: "No exceptions" |
| 631 | command: "libcxx/utils/ci/run-buildbot generic-noexceptions" |
| 632 | artifact_paths: |
| 633 | - "**/test-results.xml" |
| 634 | - "**/*.abilist" |
| 635 | env: |
| 636 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 637 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 638 | agents: |
| 639 | queue: "libcxx-builders" |
| 640 | os: "linux" |
| 641 | retry: |
| 642 | automatic: |
| 643 | - exit_status: -1 # Agent was lost |
| 644 | limit: 2 |
| 645 | timeout_in_minutes: 120 |
| 646 | |
| 647 | - label: "Unstable ABI" |
| 648 | command: "libcxx/utils/ci/run-buildbot generic-abi-unstable" |
| 649 | artifact_paths: |
| 650 | - "**/test-results.xml" |
| 651 | - "**/*.abilist" |
| 652 | env: |
| 653 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 654 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 655 | agents: |
| 656 | queue: "libcxx-builders" |
| 657 | os: "linux" |
| 658 | retry: |
| 659 | automatic: |
| 660 | - exit_status: -1 # Agent was lost |
| 661 | limit: 2 |
| 662 | timeout_in_minutes: 120 |
| 663 | |
| 664 | # Other non-testing CI jobs |
| 665 | - label: "Benchmarks" |
| 666 | command: "libcxx/utils/ci/run-buildbot benchmarks" |
| 667 | artifact_paths: |
| 668 | - "**/test-results.xml" |
| 669 | - "**/*.abilist" |
| 670 | env: |
| 671 | CC: "clang-${LLVM_HEAD_VERSION}" |
| 672 | CXX: "clang++-${LLVM_HEAD_VERSION}" |
| 673 | agents: |
| 674 | queue: "libcxx-builders" |
| 675 | os: "linux" |
| 676 | retry: |
| 677 | automatic: |
| 678 | - exit_status: -1 # Agent was lost |
| 679 | limit: 2 |
| 680 | timeout_in_minutes: 120 |
| 681 | |
| 682 | # Tests on non-Unix platforms |
| 683 | - group: ":windows: Windows" |
| 684 | steps: |
| 685 | - label: "Clang-cl (DLL)" |
| 686 | command: "bash libcxx/utils/ci/run-buildbot clang-cl-dll" |
| 687 | artifact_paths: |
| 688 | - "**/test-results.xml" |
| 689 | - "**/*.abilist" |
| 690 | agents: |
| 691 | queue: "windows" |
| 692 | retry: |
| 693 | automatic: |
| 694 | - exit_status: -1 # Agent was lost |
| 695 | limit: 2 |
| 696 | timeout_in_minutes: 120 |
| 697 | |
| 698 | - label: "Clang-cl (Static)" |
| 699 | command: "bash libcxx/utils/ci/run-buildbot clang-cl-static" |
| 700 | artifact_paths: |
| 701 | - "**/test-results.xml" |
| 702 | - "**/*.abilist" |
| 703 | agents: |
| 704 | queue: "windows" |
| 705 | retry: |
| 706 | automatic: |
| 707 | - exit_status: -1 # Agent was lost |
| 708 | limit: 2 |
| 709 | timeout_in_minutes: 120 |
| 710 | |
| 711 | - label: "Clang-cl (no vcruntime exceptions)" |
| 712 | command: "bash libcxx/utils/ci/run-buildbot clang-cl-no-vcruntime" |
| 713 | artifact_paths: |
| 714 | - "**/test-results.xml" |
| 715 | - "**/*.abilist" |
| 716 | agents: |
| 717 | queue: "windows" |
| 718 | retry: |
| 719 | automatic: |
| 720 | - exit_status: -1 # Agent was lost |
| 721 | limit: 2 |
| 722 | |
| 723 | - label: "MinGW (DLL, x86_64)" |
| 724 | command: "bash libcxx/utils/ci/run-buildbot mingw-dll" |
| 725 | artifact_paths: |
| 726 | - "**/test-results.xml" |
| 727 | - "**/*.abilist" |
| 728 | agents: |
| 729 | queue: "windows" |
| 730 | retry: |
| 731 | automatic: |
| 732 | - exit_status: -1 # Agent was lost |
| 733 | limit: 2 |
| 734 | timeout_in_minutes: 120 |
| 735 | |
| 736 | - label: "MinGW (Static, x86_64)" |
| 737 | command: "bash libcxx/utils/ci/run-buildbot mingw-static" |
| 738 | artifact_paths: |
| 739 | - "**/test-results.xml" |
| 740 | - "**/*.abilist" |
| 741 | agents: |
| 742 | queue: "windows" |
| 743 | retry: |
| 744 | automatic: |
| 745 | - exit_status: -1 # Agent was lost |
| 746 | limit: 2 |
| 747 | timeout_in_minutes: 120 |
| 748 | |
| 749 | - label: "MinGW (DLL, i686)" |
| 750 | command: "bash libcxx/utils/ci/run-buildbot mingw-dll-i686" |
| 751 | artifact_paths: |
| 752 | - "**/test-results.xml" |
| 753 | - "**/*.abilist" |
| 754 | agents: |
| 755 | queue: "windows" |
| 756 | retry: |
| 757 | automatic: |
| 758 | - exit_status: -1 # Agent was lost |
| 759 | limit: 2 |
| 760 | timeout_in_minutes: 120 |
| 761 | |
| 762 | - group: ":apple: Apple" |
| 763 | steps: |
| 764 | - label: "MacOS x86_64" |
| 765 | command: "libcxx/utils/ci/run-buildbot generic-cxx20" |
| 766 | artifact_paths: |
| 767 | - "**/test-results.xml" |
| 768 | - "**/*.abilist" |
| 769 | agents: |
| 770 | queue: "libcxx-builders" |
| 771 | os: "macos" |
| 772 | arch: "x86_64" |
| 773 | retry: |
| 774 | automatic: |
| 775 | - exit_status: -1 # Agent was lost |
| 776 | limit: 2 |
| 777 | timeout_in_minutes: 120 |
| 778 | |
| 779 | - label: "MacOS arm64" |
| 780 | command: "libcxx/utils/ci/run-buildbot generic-cxx20" |
| 781 | artifact_paths: |
| 782 | - "**/test-results.xml" |
| 783 | - "**/*.abilist" |
| 784 | agents: |
| 785 | queue: "libcxx-builders" |
| 786 | os: "macos" |
| 787 | arch: "arm64" |
| 788 | retry: |
| 789 | automatic: |
| 790 | - exit_status: -1 # Agent was lost |
| 791 | limit: 2 |
| 792 | timeout_in_minutes: 120 |
| 793 | |
| 794 | # Build with the configuration we use to generate libc++.dylib on Apple platforms |
| 795 | - label: "Apple system" |
| 796 | command: "libcxx/utils/ci/run-buildbot apple-system" |
| 797 | artifact_paths: |
| 798 | - "**/test-results.xml" |
| 799 | - "**/*.abilist" |
| 800 | agents: |
| 801 | queue: "libcxx-builders" |
| 802 | os: "macos" |
| 803 | arch: "arm64" # This can technically run on any architecture, but we have more resources on arm64 so we pin this job to arm64 |
| 804 | retry: |
| 805 | automatic: |
| 806 | - exit_status: -1 # Agent was lost |
| 807 | limit: 2 |
| 808 | timeout_in_minutes: 120 |
| 809 | |
| 810 | # Test back-deployment to older Apple platforms |
| 811 | - label: "Apple back-deployment macosx10.9" |
| 812 | command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-10.9" |
| 813 | artifact_paths: |
| 814 | - "**/test-results.xml" |
| 815 | - "**/*.abilist" |
| 816 | agents: |
| 817 | queue: "libcxx-builders" |
| 818 | os: "macos" |
| 819 | arch: "x86_64" # We need to use x86_64 for back-deployment CI on this target since macOS didn't support arm64 back then. |
| 820 | retry: |
| 821 | automatic: |
| 822 | - exit_status: -1 # Agent was lost |
| 823 | limit: 2 |
| 824 | timeout_in_minutes: 120 |
| 825 | |
| 826 | - label: "Apple back-deployment macosx10.15" |
| 827 | command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-10.15" |
| 828 | artifact_paths: |
| 829 | - "**/test-results.xml" |
| 830 | - "**/*.abilist" |
| 831 | agents: |
| 832 | queue: "libcxx-builders" |
| 833 | os: "macos" |
| 834 | arch: "x86_64" # We need to use x86_64 for back-deployment CI on this target since macOS didn't support arm64 back then. |
| 835 | retry: |
| 836 | automatic: |
| 837 | - exit_status: -1 # Agent was lost |
| 838 | limit: 2 |
| 839 | timeout_in_minutes: 120 |
| 840 | |
| 841 | - label: "Apple back-deployment macosx11.0 arm64" |
| 842 | command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-11.0" |
| 843 | artifact_paths: |
| 844 | - "**/test-results.xml" |
| 845 | - "**/*.abilist" |
| 846 | agents: |
| 847 | queue: "libcxx-builders" |
| 848 | os: "macos" |
| 849 | arch: "arm64" |
| 850 | retry: |
| 851 | automatic: |
| 852 | - exit_status: -1 # Agent was lost |
| 853 | limit: 2 |
| 854 | timeout_in_minutes: 120 |
| 855 | |
| 856 | - label: "Apple back-deployment with assertions enabled" |
| 857 | command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-assertions-11.0" |
| 858 | artifact_paths: |
| 859 | - "**/test-results.xml" |
| 860 | - "**/*.abilist" |
| 861 | agents: |
| 862 | queue: "libcxx-builders" |
| 863 | os: "macos" |
| 864 | retry: |
| 865 | automatic: |
| 866 | - exit_status: -1 # Agent was lost |
| 867 | limit: 2 |
| 868 | timeout_in_minutes: 120 |
| 869 | |
| 870 | - group: "ARM" |
| 871 | steps: |
| 872 | - label: "AArch64" |
| 873 | command: "libcxx/utils/ci/run-buildbot aarch64" |
| 874 | artifact_paths: |
| 875 | - "**/test-results.xml" |
| 876 | - "**/*.abilist" |
| 877 | agents: |
| 878 | queue: "libcxx-builders-linaro-arm" |
| 879 | arch: "aarch64" |
| 880 | retry: |
| 881 | automatic: |
| 882 | - exit_status: -1 # Agent was lost |
| 883 | limit: 2 |
| 884 | timeout_in_minutes: 120 |
| 885 | |
| 886 | - label: "AArch64 -fno-exceptions" |
| 887 | command: "libcxx/utils/ci/run-buildbot aarch64-noexceptions" |
| 888 | artifact_paths: |
| 889 | - "**/test-results.xml" |
| 890 | - "**/*.abilist" |
| 891 | agents: |
| 892 | queue: "libcxx-builders-linaro-arm" |
| 893 | arch: "aarch64" |
| 894 | retry: |
| 895 | automatic: |
| 896 | - exit_status: -1 # Agent was lost |
| 897 | limit: 2 |
| 898 | timeout_in_minutes: 120 |
| 899 | |
| 900 | - label: "Armv8" |
| 901 | command: "libcxx/utils/ci/run-buildbot armv8" |
| 902 | artifact_paths: |
| 903 | - "**/test-results.xml" |
| 904 | - "**/*.abilist" |
| 905 | agents: |
| 906 | queue: "libcxx-builders-linaro-arm" |
| 907 | arch: "armv8l" |
| 908 | retry: |
| 909 | automatic: |
| 910 | - exit_status: -1 # Agent was lost |
| 911 | limit: 2 |
| 912 | timeout_in_minutes: 120 |
| 913 | |
| 914 | - label: "Armv8 -fno-exceptions" |
| 915 | command: "libcxx/utils/ci/run-buildbot armv8-noexceptions" |
| 916 | artifact_paths: |
| 917 | - "**/test-results.xml" |
| 918 | - "**/*.abilist" |
| 919 | agents: |
| 920 | queue: "libcxx-builders-linaro-arm" |
| 921 | arch: "armv8l" |
| 922 | retry: |
| 923 | automatic: |
| 924 | - exit_status: -1 # Agent was lost |
| 925 | limit: 2 |
| 926 | timeout_in_minutes: 120 |
| 927 | |
| 928 | - label: "Armv7" |
| 929 | command: "libcxx/utils/ci/run-buildbot armv7" |
| 930 | artifact_paths: |
| 931 | - "**/test-results.xml" |
| 932 | - "**/*.abilist" |
| 933 | agents: |
| 934 | queue: "libcxx-builders-linaro-arm" |
| 935 | arch: "armv8l" # Compiling for v7, running on v8 hardware |
| 936 | retry: |
| 937 | automatic: |
| 938 | - exit_status: -1 # Agent was lost |
| 939 | limit: 2 |
| 940 | timeout_in_minutes: 120 |
| 941 | |
| 942 | - label: "Armv7 -fno-exceptions" |
| 943 | command: "libcxx/utils/ci/run-buildbot armv7-noexceptions" |
| 944 | artifact_paths: |
| 945 | - "**/test-results.xml" |
| 946 | - "**/*.abilist" |
| 947 | agents: |
| 948 | queue: "libcxx-builders-linaro-arm" |
| 949 | arch: "armv8l" # Compiling for v7, running on v8 hardware |
| 950 | retry: |
| 951 | automatic: |
| 952 | - exit_status: -1 # Agent was lost |
| 953 | limit: 2 |
| 954 | timeout_in_minutes: 120 |
| 955 | |
| 956 | - group: "AIX" |
| 957 | steps: |
| 958 | - label: "AIX (32-bit)" |
| 959 | command: "libcxx/utils/ci/run-buildbot aix" |
| 960 | artifact_paths: |
| 961 | - "**/test-results.xml" |
| 962 | - "**/*.abilist" |
| 963 | env: |
| 964 | CC: "clang" |
| 965 | CXX: "clang++" |
| 966 | OBJECT_MODE: "32" |
| 967 | agents: |
| 968 | queue: libcxx-builders |
| 969 | os: aix |
| 970 | retry: |
| 971 | automatic: |
| 972 | - exit_status: -1 # Agent was lost |
| 973 | limit: 2 |
| 974 | timeout_in_minutes: 120 |
| 975 | |
| 976 | - label: "AIX (64-bit)" |
| 977 | command: "libcxx/utils/ci/run-buildbot aix" |
| 978 | artifact_paths: |
| 979 | - "**/test-results.xml" |
| 980 | - "**/*.abilist" |
| 981 | env: |
| 982 | CC: "clang" |
| 983 | CXX: "clang++" |
| 984 | OBJECT_MODE: "64" |
| 985 | agents: |
| 986 | queue: libcxx-builders |
| 987 | os: aix |
| 988 | retry: |
| 989 | automatic: |
| 990 | - exit_status: -1 # Agent was lost |
| 991 | limit: 2 |
| 992 | timeout_in_minutes: 120 |