Skip to content

Commit

Permalink
Auto merge of #124175 - Kobzol:ci-dynamic-job, r=pietroalbini
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
bors committed Apr 24, 2024
2 parents f60a919 + 2dbaf8f commit 9f08266
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 9f08266

Please sign in to comment.