[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / libcxx / utils / ci / buildkite-pipeline.yml
blob36abefe41e2cd0354a4a5f1c1017be031cdb2705
1 # ===----------------------------------------------------------------------===##
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
7 # ===----------------------------------------------------------------------===##
10 # This file describes the various pre-commit CI bots used to test libc++.
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.
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.
20 env:
21     # LLVM POST-BRANCH bump version
22     # LLVM POST-BRANCH add compiler test for ToT - 1, e.g. "Clang 17"
23     # LLVM RELEASE bump remove compiler ToT - 3, e.g. "Clang 15"
24     LLVM_HEAD_VERSION: "18"   # Used compiler, update POST-BRANCH.
25     GCC_STABLE_VERSION: "13"
27 definitions:
28   _common: &common
29     timeout_in_minutes: 120
30     retry:
31       automatic:
32         - exit_status: -1  # Agent was lost
33           limit: 2
34     artifact_paths:
35       - "**/test-results.xml"
36       - "**/*.abilist"
37       - "**/crash_diagnostics/*"
38       - "**/CMakeConfigureLog.yaml"
39       - "**/CMakeError.log"
40       - "**/CMakeOutput.log"
42 steps:
43 - group: ARM
44   steps:
45   - label: AArch64
46     command: libcxx/utils/ci/run-buildbot aarch64
47     agents:
48       queue: libcxx-builders-linaro-arm
49       arch: aarch64
50     <<: *common
52   - label: AArch64 -fno-exceptions
53     command: libcxx/utils/ci/run-buildbot aarch64-no-exceptions
54     agents:
55       queue: libcxx-builders-linaro-arm
56       arch: aarch64
57     <<: *common
59   - label: Armv8
60     command: libcxx/utils/ci/run-buildbot armv8
61     agents:
62       queue: libcxx-builders-linaro-arm
63       arch: armv8l
64     <<: *common
66   - label: Armv8 -fno-exceptions
67     command: libcxx/utils/ci/run-buildbot armv8-no-exceptions
68     agents:
69       queue: libcxx-builders-linaro-arm
70       arch: armv8l
71     <<: *common
73   - label: Armv7
74     command: libcxx/utils/ci/run-buildbot armv7
75     agents:
76       queue: libcxx-builders-linaro-arm
77       arch: armv8l
78     <<: *common
80   - label: Armv7 -fno-exceptions
81     command: libcxx/utils/ci/run-buildbot armv7-no-exceptions
82     agents:
83       queue: libcxx-builders-linaro-arm
84       arch: armv8l
85     <<: *common
87   - label: Armv7-M picolibc
88     command: libcxx/utils/ci/run-buildbot armv7m-picolibc
89     agents:
90       queue: libcxx-builders-linaro-arm
91       arch: aarch64
92     <<: *common
94   - label: Armv7-M picolibc -fno-exceptions
95     command: libcxx/utils/ci/run-buildbot armv7m-picolibc-no-exceptions
96     agents:
97       queue: libcxx-builders-linaro-arm
98       arch: aarch64
99     <<: *common
101 - group: AIX
102   steps:
103   - label: AIX (32-bit)
104     command: libcxx/utils/ci/run-buildbot aix
105     env:
106       CC: clang
107       CXX: clang++
108       OBJECT_MODE: '32'
109     agents:
110       queue: libcxx-builders
111       os: aix
112     <<: *common
114   - label: AIX (64-bit)
115     command: libcxx/utils/ci/run-buildbot aix
116     env:
117       CC: clang
118       CXX: clang++
119       OBJECT_MODE: '64'
120     agents:
121       queue: libcxx-builders
122       os: aix
123     <<: *common
125 - group: ':freebsd: FreeBSD'
126   steps:
127   - label: FreeBSD 13 amd64
128     command: libcxx/utils/ci/run-buildbot generic-cxx26
129     env:
130       CC: clang17
131       CXX: clang++17
132     agents:
133       queue: libcxx-builders
134       os: freebsd
135     <<: *common
137 - group: ':android: Android'
138   steps:
139   - label: Android 5.0, x86 NDK
140     command: libcxx/utils/ci/run-buildbot android-ndk-21-def-x86
141     agents:
142       queue: libcxx-builders
143       os: android
144     <<: *common
146   - label: Android 13, x86_64 NDK
147     command: libcxx/utils/ci/run-buildbot android-ndk-33-goog-x86_64
148     agents:
149       queue: libcxx-builders
150       os: android
151     <<: *common