2020-09-23 21:20:03 +08:00
|
|
|
#===----------------------------------------------------------------------===##
|
|
|
|
#
|
|
|
|
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
# See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
#
|
|
|
|
#===----------------------------------------------------------------------===##
|
|
|
|
|
|
|
|
#
|
|
|
|
# This file describes the various pre-commit CI bots used to test libc++.
|
|
|
|
#
|
|
|
|
# This file should never contain logic -- all the logic must be offloaded
|
|
|
|
# into scripts. This is critical to being able to reproduce CI issues outside
|
|
|
|
# of the CI environment, which is important for debugging.
|
|
|
|
#
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- label: "C++03"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-cxx03"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
2020-12-02 15:57:02 +08:00
|
|
|
- "**/*.abilist"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "C++11"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-cxx11"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-12-02 15:57:02 +08:00
|
|
|
- "**/*.abilist"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "C++14"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-cxx14"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-12-02 15:57:02 +08:00
|
|
|
- "**/*.abilist"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "C++17"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-cxx17"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-12-02 15:57:02 +08:00
|
|
|
- "**/*.abilist"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "C++20"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-cxx2a"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-12-02 15:57:02 +08:00
|
|
|
- "**/*.abilist"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "-fno-exceptions"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-noexceptions"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "GCC/C++20"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-gcc"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "ASAN"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-asan"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "TSAN"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-tsan"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "UBSAN"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-ubsan"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "With LLVM's libunwind"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-09-23 21:20:03 +08:00
|
|
|
|
|
|
|
- label: "Single-threaded"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-singlethreaded"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-09-23 21:20:03 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-01 20:55:40 +08:00
|
|
|
|
2020-10-07 04:46:58 +08:00
|
|
|
- label: "No debug mode"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-nodebug"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-10-07 04:46:58 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-07 04:46:58 +08:00
|
|
|
|
2020-10-15 22:32:09 +08:00
|
|
|
- label: "No random device"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-no-random_device"
|
2020-10-27 02:53:59 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
2020-10-15 22:32:09 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-15 22:32:09 +08:00
|
|
|
|
2020-10-10 03:31:05 +08:00
|
|
|
- label: "No locale"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-no-localization"
|
2020-10-10 03:31:05 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-10 03:31:05 +08:00
|
|
|
|
2020-10-02 01:55:39 +08:00
|
|
|
- label: "MacOS C++20"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot generic-cxx2a"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-12-02 15:57:02 +08:00
|
|
|
- "**/*.abilist"
|
2020-10-02 01:55:39 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-macos-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-02 01:55:39 +08:00
|
|
|
|
2020-10-23 22:02:14 +08:00
|
|
|
- label: "Benchmarks"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot benchmarks"
|
2020-10-23 22:02:14 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-23 22:02:14 +08:00
|
|
|
|
2020-11-06 03:34:29 +08:00
|
|
|
- label: "Documentation"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot documentation"
|
2020-11-06 03:34:29 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
|
|
|
|
2020-10-24 04:27:41 +08:00
|
|
|
- label: "Legacy standalone build"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot legacy-standalone"
|
2020-10-27 00:58:15 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-24 04:27:41 +08:00
|
|
|
|
|
|
|
- label: "Unified standalone build"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot unified-standalone"
|
2020-10-27 00:58:15 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
|
|
|
agents:
|
|
|
|
queue: "libcxx-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-24 04:27:41 +08:00
|
|
|
|
2020-10-01 20:55:40 +08:00
|
|
|
# Build with the configuration we use to generate libc++.dylib on Apple platforms
|
|
|
|
- label: "Apple system"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot x86_64-apple-system"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-10-01 20:55:40 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-macos-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-10-09 18:23:48 +08:00
|
|
|
|
2020-10-01 20:55:40 +08:00
|
|
|
- label: "Apple system -fno-exceptions"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot x86_64-apple-system-noexceptions"
|
2020-10-09 18:23:48 +08:00
|
|
|
artifact_paths:
|
2020-10-27 02:53:59 +08:00
|
|
|
- "**/test-results.xml"
|
2020-10-01 20:55:40 +08:00
|
|
|
agents:
|
|
|
|
queue: "libcxx-macos-builders"
|
2020-11-03 00:58:01 +08:00
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-11-05 23:47:06 +08:00
|
|
|
|
|
|
|
# Test back-deployment to older Apple platforms
|
|
|
|
- label: "Apple back-deployment macosx10.9"
|
2020-11-06 08:02:32 +08:00
|
|
|
command: "libcxx/utils/ci/run-buildbot x86_64-apple-system-backdeployment-10.9"
|
2020-11-05 23:47:06 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
|
|
|
agents:
|
|
|
|
queue: "libcxx-macos-builders"
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|
2020-12-08 07:20:35 +08:00
|
|
|
|
2020-12-09 22:58:25 +08:00
|
|
|
- label: "Apple back-deployment macosx10.15"
|
|
|
|
command: "libcxx/utils/ci/run-buildbot x86_64-apple-system-backdeployment-10.15"
|
2020-12-08 07:20:35 +08:00
|
|
|
artifact_paths:
|
|
|
|
- "**/test-results.xml"
|
|
|
|
agents:
|
|
|
|
queue: "libcxx-macos-builders"
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: -1 # Agent was lost
|
|
|
|
limit: 2
|