2 #===----------------------------------------------------------------------===##
4 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 # See https://llvm.org/LICENSE.txt for license information.
6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 #===----------------------------------------------------------------------===##
11 # This file generates a Buildkite pipeline that triggers the various CI jobs for
12 # the LLVM project on scheduled builds.
14 # See https://buildkite.com/docs/agent/v3/cli-pipeline#pipeline-format.
20 # Filter rules for generic windows tests
21 : ${WINDOWS_AGENTS:='{"queue": "windows"}'}
22 # Filter rules for generic linux tests
23 : ${LINUX_AGENTS:='{"queue": "linux"}'}
25 : ${BUILDKITE_MESSAGE:=}
26 : ${BUILDKITE_COMMIT:=}
27 : ${BUILDKITE_BRANCH:=}
31 - trigger: "libcxx-ci"
33 message: "${BUILDKITE_MESSAGE}"
34 commit: "${BUILDKITE_COMMIT}"
35 branch: "${BUILDKITE_BRANCH}"
39 message: "${BUILDKITE_MESSAGE}"
40 commit: "${BUILDKITE_COMMIT}"
41 branch: "${BUILDKITE_BRANCH}"
43 - label: ':linux: Linux x64'
47 - 'build/test-results.xml'
48 agents: ${LINUX_AGENTS}
51 - exit_status: -1 # Agent was lost
53 - exit_status: 255 # Forced agent shutdown
55 timeout_in_minutes: 120
60 - ./.ci/monolithic-linux.sh "bolt;clang;clang-tools-extra;compiler-rt;flang;libc;libclc;lld;llvm;mlir;polly;pstl" "check-all"
62 - label: ':windows: Windows x64'
66 - 'build/test-results.xml'
67 agents: ${WINDOWS_AGENTS}
70 - exit_status: -1 # Agent was lost
72 - exit_status: 255 # Forced agent shutdown
74 timeout_in_minutes: 150
80 - C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
81 - bash .ci/monolithic-windows.sh "clang;clang-tools-extra;flang;libclc;lld;llvm;mlir;polly;pstl" "check-all"