[libcxx-commits] [libcxx] 73aa097 - [libc++] Add a wait step in the BuildKite pipeline to shield macOS builders
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 8 07:14:28 PST 2021
Author: Louis Dionne
Date: 2021-02-08T10:14:16-05:00
New Revision: 73aa09704a4c85b097d5fab986ead27092ecc9f7
URL: https://github.com/llvm/llvm-project/commit/73aa09704a4c85b097d5fab986ead27092ecc9f7
DIFF: https://github.com/llvm/llvm-project/commit/73aa09704a4c85b097d5fab986ead27092ecc9f7.diff
LOG: [libc++] Add a wait step in the BuildKite pipeline to shield macOS builders
We don't have many of those and they are rather slow, so we'd rather not run
those jobs if we know other jobs in the pipeline failed anyway.
Added:
Modified:
libcxx/utils/ci/buildkite-pipeline.yml
Removed:
################################################################################
diff --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml
index cd6ff77fb8ed..f502364db665 100644
--- a/libcxx/utils/ci/buildkite-pipeline.yml
+++ b/libcxx/utils/ci/buildkite-pipeline.yml
@@ -277,6 +277,12 @@ steps:
- exit_status: -1 # Agent was lost
limit: 2
+ # All jobs defined before this `wait` will run whenever a CI job is started.
+ # Jobs defined after the `wait` will run only if all the jobs above succeeded.
+ # We use this to reduce the load on testers that have more constrained resources
+ # and avoid running builds that we know fail anyway.
+ - wait
+
# Build with the configuration we use to generate libc++.dylib on Apple platforms
- label: "Apple system"
command: "libcxx/utils/ci/run-buildbot x86_64-apple-system"
More information about the libcxx-commits
mailing list