diff options
| author | bors <bors@rust-lang.org> | 2024-04-25 06:48:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-25 06:48:37 +0000 |
| commit | 9d7a47fe31c049d32989ee41efec61b57ea1a4e0 (patch) | |
| tree | 32f82f6179297d50ad208b9e57d39171f8e1635f /src/ci/scripts | |
| parent | c69c79d42a691b2f8402d18ec87fb0e0873f1bf2 (diff) | |
| parent | 258e5043a156a87497f98d5220624545658aad0b (diff) | |
| download | rust-9d7a47fe31c049d32989ee41efec61b57ea1a4e0.tar.gz rust-9d7a47fe31c049d32989ee41efec61b57ea1a4e0.zip | |
Auto merge of #3513 - rust-lang:rustup-2024-04-25, r=RalfJung
Automatic Rustup
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/calculate-job-matrix.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/ci/scripts/calculate-job-matrix.py b/src/ci/scripts/calculate-job-matrix.py deleted file mode 100755 index 9b1e74c23c3..00000000000 --- a/src/ci/scripts/calculate-job-matrix.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python3 - -""" -This script serves for generating a matrix of jobs that should -be executed on CI. - -It reads job definitions from `src/ci/github-actions/jobs.yml` -and filters them based on the event that happened on CI. - -Currently, it only supports PR builds. -""" - -import json -from pathlib import Path - -import yaml - -JOBS_YAML_PATH = Path(__file__).absolute().parent.parent / "github-actions" / "jobs.yml" - - -if __name__ == "__main__": - with open(JOBS_YAML_PATH) as f: - jobs = yaml.safe_load(f) - job_output = jobs["pr"] - print(f"jobs={json.dumps(job_output)}") |
