• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#
16
17steps:
18  - label: "C++03"
19    command: "libcxx/utils/ci/run-buildbot generic-cxx03"
20    artifact_paths:
21      - "**/test-results.xml"
22      - "**/*.abilist"
23    agents:
24      queue: "libcxx-builders"
25    retry:
26      automatic:
27        - exit_status: -1  # Agent was lost
28          limit: 2
29
30  - label: "C++11"
31    command: "libcxx/utils/ci/run-buildbot generic-cxx11"
32    artifact_paths:
33      - "**/test-results.xml"
34      - "**/*.abilist"
35    agents:
36      queue: "libcxx-builders"
37    retry:
38      automatic:
39        - exit_status: -1  # Agent was lost
40          limit: 2
41
42  - label: "C++14"
43    command: "libcxx/utils/ci/run-buildbot generic-cxx14"
44    artifact_paths:
45      - "**/test-results.xml"
46      - "**/*.abilist"
47    agents:
48      queue: "libcxx-builders"
49    retry:
50      automatic:
51        - exit_status: -1  # Agent was lost
52          limit: 2
53
54  - label: "C++17"
55    command: "libcxx/utils/ci/run-buildbot generic-cxx17"
56    artifact_paths:
57      - "**/test-results.xml"
58      - "**/*.abilist"
59    agents:
60      queue: "libcxx-builders"
61    retry:
62      automatic:
63        - exit_status: -1  # Agent was lost
64          limit: 2
65
66  - label: "C++20"
67    command: "libcxx/utils/ci/run-buildbot generic-cxx2a"
68    artifact_paths:
69      - "**/test-results.xml"
70      - "**/*.abilist"
71    agents:
72      queue: "libcxx-builders"
73    retry:
74      automatic:
75        - exit_status: -1  # Agent was lost
76          limit: 2
77
78  - label: "-fno-exceptions"
79    command: "libcxx/utils/ci/run-buildbot generic-noexceptions"
80    artifact_paths:
81      - "**/test-results.xml"
82    agents:
83      queue: "libcxx-builders"
84    retry:
85      automatic:
86        - exit_status: -1  # Agent was lost
87          limit: 2
88
89  - label: "GCC/C++20"
90    command: "libcxx/utils/ci/run-buildbot generic-gcc"
91    artifact_paths:
92      - "**/test-results.xml"
93    agents:
94      queue: "libcxx-builders"
95    retry:
96      automatic:
97        - exit_status: -1  # Agent was lost
98          limit: 2
99
100  - label: "ASAN"
101    command: "libcxx/utils/ci/run-buildbot generic-asan"
102    artifact_paths:
103      - "**/test-results.xml"
104    agents:
105      queue: "libcxx-builders"
106    retry:
107      automatic:
108        - exit_status: -1  # Agent was lost
109          limit: 2
110
111  - label: "TSAN"
112    command: "libcxx/utils/ci/run-buildbot generic-tsan"
113    artifact_paths:
114      - "**/test-results.xml"
115    agents:
116      queue: "libcxx-builders"
117    retry:
118      automatic:
119        - exit_status: -1  # Agent was lost
120          limit: 2
121
122  - label: "UBSAN"
123    command: "libcxx/utils/ci/run-buildbot generic-ubsan"
124    artifact_paths:
125      - "**/test-results.xml"
126    agents:
127      queue: "libcxx-builders"
128    retry:
129      automatic:
130        - exit_status: -1  # Agent was lost
131          limit: 2
132
133  - label: "With LLVM's libunwind"
134    command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder"
135    artifact_paths:
136      - "**/test-results.xml"
137    agents:
138      queue: "libcxx-builders"
139    retry:
140      automatic:
141        - exit_status: -1  # Agent was lost
142          limit: 2
143
144  - label: "Single-threaded"
145    command: "libcxx/utils/ci/run-buildbot generic-singlethreaded"
146    artifact_paths:
147      - "**/test-results.xml"
148    agents:
149      queue: "libcxx-builders"
150    retry:
151      automatic:
152        - exit_status: -1  # Agent was lost
153          limit: 2
154
155  - label: "No debug mode"
156    command: "libcxx/utils/ci/run-buildbot generic-nodebug"
157    artifact_paths:
158      - "**/test-results.xml"
159    agents:
160      queue: "libcxx-builders"
161    retry:
162      automatic:
163        - exit_status: -1  # Agent was lost
164          limit: 2
165
166  - label: "No random device"
167    command: "libcxx/utils/ci/run-buildbot generic-no-random_device"
168    artifact_paths:
169      - "**/test-results.xml"
170    agents:
171      queue: "libcxx-builders"
172    retry:
173      automatic:
174        - exit_status: -1  # Agent was lost
175          limit: 2
176
177  - label: "No locale"
178    command: "libcxx/utils/ci/run-buildbot generic-no-localization"
179    artifact_paths:
180      - "**/test-results.xml"
181    agents:
182      queue: "libcxx-builders"
183    retry:
184      automatic:
185        - exit_status: -1  # Agent was lost
186          limit: 2
187
188  - label: "MacOS C++20"
189    command: "libcxx/utils/ci/run-buildbot generic-cxx2a"
190    artifact_paths:
191      - "**/test-results.xml"
192      - "**/*.abilist"
193    agents:
194      queue: "libcxx-macos-builders"
195    retry:
196      automatic:
197        - exit_status: -1  # Agent was lost
198          limit: 2
199
200  - label: "Benchmarks"
201    command: "libcxx/utils/ci/run-buildbot benchmarks"
202    artifact_paths:
203      - "**/test-results.xml"
204    agents:
205      queue: "libcxx-builders"
206    retry:
207      automatic:
208        - exit_status: -1  # Agent was lost
209          limit: 2
210
211  - label: "Documentation"
212    command: "libcxx/utils/ci/run-buildbot documentation"
213    artifact_paths:
214      - "**/test-results.xml"
215    agents:
216      queue: "libcxx-builders"
217    retry:
218      automatic:
219        - exit_status: -1  # Agent was lost
220          limit: 2
221
222  - label: "Legacy standalone build"
223    command: "libcxx/utils/ci/run-buildbot legacy-standalone"
224    artifact_paths:
225      - "**/test-results.xml"
226    agents:
227      queue: "libcxx-builders"
228    retry:
229      automatic:
230        - exit_status: -1  # Agent was lost
231          limit: 2
232
233  - label: "Unified standalone build"
234    command: "libcxx/utils/ci/run-buildbot unified-standalone"
235    artifact_paths:
236      - "**/test-results.xml"
237    agents:
238      queue: "libcxx-builders"
239    retry:
240      automatic:
241        - exit_status: -1  # Agent was lost
242          limit: 2
243
244  # Build with the configuration we use to generate libc++.dylib on Apple platforms
245  - label: "Apple system"
246    command: "libcxx/utils/ci/run-buildbot x86_64-apple-system"
247    artifact_paths:
248      - "**/test-results.xml"
249    agents:
250      queue: "libcxx-macos-builders"
251    retry:
252      automatic:
253        - exit_status: -1  # Agent was lost
254          limit: 2
255
256  - label: "Apple system -fno-exceptions"
257    command: "libcxx/utils/ci/run-buildbot x86_64-apple-system-noexceptions"
258    artifact_paths:
259      - "**/test-results.xml"
260    agents:
261      queue: "libcxx-macos-builders"
262    retry:
263      automatic:
264        - exit_status: -1  # Agent was lost
265          limit: 2
266
267  # Test back-deployment to older Apple platforms
268  - label: "Apple back-deployment macosx10.9"
269    command: "libcxx/utils/ci/run-buildbot x86_64-apple-system-backdeployment-10.9"
270    artifact_paths:
271      - "**/test-results.xml"
272    agents:
273      queue: "libcxx-macos-builders"
274    retry:
275      automatic:
276        - exit_status: -1  # Agent was lost
277          limit: 2
278
279  - label: "Apple back-deployment macosx10.15"
280    command: "libcxx/utils/ci/run-buildbot x86_64-apple-system-backdeployment-10.15"
281    artifact_paths:
282      - "**/test-results.xml"
283    agents:
284      queue: "libcxx-macos-builders"
285    retry:
286      automatic:
287        - exit_status: -1  # Agent was lost
288          limit: 2
289