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 Clang against
11 # libc++ under various configurations. Unlike the usual libc++ CI pipeline,
12 # which aims to test libc++ itself, this pipeline aims to test Clang by
13 # compiling libc++ and running its test suite against the just-built Clang,
14 # in various configurations.
17 # LLVM RELEASE bump version
18 LLVM_HEAD_VERSION: "17"
22 - "clang/utils/ci/run-buildbot check-format"
27 - exit_status: -1 # Agent was lost
29 timeout_in_minutes: 120
31 - label: "Building and testing clang (Linux)"
33 - "clang/utils/ci/run-buildbot build-clang"
38 - exit_status: -1 # Agent was lost
40 timeout_in_minutes: 120
42 - label: "Building and testing clang (Windows)"
44 - "C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64"
45 - "bash clang/utils/ci/run-buildbot build-clang-windows"
50 - exit_status: -1 # Agent was lost
52 timeout_in_minutes: 120
56 - label: "Running libc++ test suite in C++03"
58 - "clang/utils/ci/run-buildbot generic-cxx03"
60 - "**/test-results.xml"
61 - "**/crash_diagnostics/*"
63 LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}" # TODO: Should we build that from scratch?
64 CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
69 - exit_status: -1 # Agent was lost
71 timeout_in_minutes: 120
73 - label: "Running libc++ test suite in C++26"
75 - "clang/utils/ci/run-buildbot generic-cxx26"
77 - "**/test-results.xml"
78 - "**/crash_diagnostics/*"
80 LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}" # TODO: Should we build that from scratch?
81 CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
86 - exit_status: -1 # Agent was lost
88 timeout_in_minutes: 120
90 - label: "Running libc++ test suite with Clang Modules"
92 - "clang/utils/ci/run-buildbot generic-modules"
94 - "**/test-results.xml"
95 - "**/crash_diagnostics/*"
97 LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}" # TODO: Should we build that from scratch?
98 CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
103 - exit_status: -1 # Agent was lost
105 timeout_in_minutes: 120