[clang-tidy][libc] Ignore implicit function inline (#71095)
[llvm-project.git] / .ci / generate-buildkite-pipeline-scheduled
blobd5c7c5965ef6a17542ea572ff942cf7691798c87
1 #!/usr/bin/env bash
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.
17 set -eu
18 set -o pipefail
20 # Filter rules for generic windows tests
21 : ${WINDOWS_AGENTS:='{"queue": "windows"}'}
22 # Filter rules for generic linux tests
23 : ${LINUX_AGENTS:='{"queue": "linux"}'}
24 # Set by buildkite
25 : ${BUILDKITE_MESSAGE:=}
26 : ${BUILDKITE_COMMIT:=}
27 : ${BUILDKITE_BRANCH:=}
29 cat <<EOF
30 steps:
31 - trigger: "libcxx-ci"
32 build:
33 message: "${BUILDKITE_MESSAGE}"
34 commit: "${BUILDKITE_COMMIT}"
35 branch: "${BUILDKITE_BRANCH}"
37 - trigger: "clang-ci"
38 build:
39 message: "${BUILDKITE_MESSAGE}"
40 commit: "${BUILDKITE_COMMIT}"
41 branch: "${BUILDKITE_BRANCH}"
43 - label: ':linux: Linux x64'
44 artifact_paths:
45 - 'artifacts/**/*'
46 - '*_result.json'
47 - 'build/test-results.xml'
48 agents: ${LINUX_AGENTS}
49 retry:
50 automatic:
51 - exit_status: -1 # Agent was lost
52 limit: 2
53 - exit_status: 255 # Forced agent shutdown
54 limit: 2
55 timeout_in_minutes: 120
56 env:
57 CC: 'clang'
58 CXX: 'clang++'
59 commands:
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'
63 artifact_paths:
64 - 'artifacts/**/*'
65 - '*_result.json'
66 - 'build/test-results.xml'
67 agents: ${WINDOWS_AGENTS}
68 retry:
69 automatic:
70 - exit_status: -1 # Agent was lost
71 limit: 2
72 - exit_status: 255 # Forced agent shutdown
73 limit: 2
74 timeout_in_minutes: 150
75 env:
76 CC: 'cl'
77 CXX: 'cl'
78 LD: 'link'
79 commands:
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"