Skip to content

Commit

Permalink
[libc++][CI] Reorder jobs.
Browse files Browse the repository at this point in the history
In the second leg of the CI the steps take about:
- C++2b              10m
- C++11              8m
- C++03              6m
- Modular build      10m
- GCC 12 / C++latest 20m
So the slowest job is scheduled last. The CI will wait to start the
third leg until that job is done. The current order increases the
latency of the current job, instead start the slow jobs earlier.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D136276
  • Loading branch information
mordante committed Oct 20, 2022
1 parent c66426f commit 37fc37d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions libcxx/utils/ci/buildkite-pipeline.yml
Expand Up @@ -79,14 +79,14 @@ steps:
#
- wait

- label: "C++2b"
command: "libcxx/utils/ci/run-buildbot generic-cxx2b"
- label: "GCC ${GCC_STABLE_VERSION} / C++latest"
command: "libcxx/utils/ci/run-buildbot generic-gcc"
artifact_paths:
- "**/test-results.xml"
- "**/*.abilist"
env:
CC: "clang-${LLVM_HEAD_VERSION}"
CXX: "clang++-${LLVM_HEAD_VERSION}"
CC: "gcc-${GCC_STABLE_VERSION}"
CXX: "g++-${GCC_STABLE_VERSION}"
agents:
queue: "libcxx-builders"
os: "linux"
Expand All @@ -96,8 +96,8 @@ steps:
limit: 2
timeout_in_minutes: 120

- label: "C++11"
command: "libcxx/utils/ci/run-buildbot generic-cxx11"
- label: "C++2b"
command: "libcxx/utils/ci/run-buildbot generic-cxx2b"
artifact_paths:
- "**/test-results.xml"
- "**/*.abilist"
Expand All @@ -113,8 +113,8 @@ steps:
limit: 2
timeout_in_minutes: 120

- label: "C++03"
command: "libcxx/utils/ci/run-buildbot generic-cxx03"
- label: "Modular build"
command: "libcxx/utils/ci/run-buildbot generic-modules"
artifact_paths:
- "**/test-results.xml"
- "**/*.abilist"
Expand All @@ -130,8 +130,8 @@ steps:
limit: 2
timeout_in_minutes: 120

- label: "Modular build"
command: "libcxx/utils/ci/run-buildbot generic-modules"
- label: "C++11"
command: "libcxx/utils/ci/run-buildbot generic-cxx11"
artifact_paths:
- "**/test-results.xml"
- "**/*.abilist"
Expand All @@ -147,14 +147,14 @@ steps:
limit: 2
timeout_in_minutes: 120

- label: "GCC ${GCC_STABLE_VERSION} / C++latest"
command: "libcxx/utils/ci/run-buildbot generic-gcc"
- label: "C++03"
command: "libcxx/utils/ci/run-buildbot generic-cxx03"
artifact_paths:
- "**/test-results.xml"
- "**/*.abilist"
env:
CC: "gcc-${GCC_STABLE_VERSION}"
CXX: "g++-${GCC_STABLE_VERSION}"
CC: "clang-${LLVM_HEAD_VERSION}"
CXX: "clang++-${LLVM_HEAD_VERSION}"
agents:
queue: "libcxx-builders"
os: "linux"
Expand Down

0 comments on commit 37fc37d

Please sign in to comment.