Skip to content

Commit e7da0fa

Browse files
committed
Auto merge of rust-lang#124175 - Kobzol:ci-dynamic-job, r=pietroalbini
CI: dynamic jobs This PR modifies our CI workflows to be dynamic. This means that when a GitHub event is generated, we will run a Python script (`calculate-job-matrix.py`), which decides which CI jobs should be generated. These jobs are defined in `src/ci/github-actions/jobs.yml`). This should provide a few benefits: - Once the migration to dynamic jobs is complete, we shouldn't need `expand-yaml-anchors` anymore. - The job table on PRs (and also the left job column on auto/try builds) should be much cleaner and contain only the jobs that are actually relevant/executed. - It should be much easier to support dynamic try builds, i.e. to run an arbitrary CI job on a try build. See [this Zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/job.20matrix.20re-ordered.20PR.20list) for more context. r? `@ghost`
2 parents 29a56a3 + 2632c61 commit e7da0fa

File tree

5 files changed

+572
-1002
lines changed

5 files changed

+572
-1002
lines changed

0 commit comments

Comments
 (0)