diff options
| author | bors <bors@rust-lang.org> | 2025-03-02 09:18:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-02 09:18:02 +0000 |
| commit | 4b696e6bf77b4df02634d346637bd35f2960c5f4 (patch) | |
| tree | 27b44526257660947e13bece4257e41bbb9de3f6 /src/ci/docker | |
| parent | 1c3b035542775e9a5decc93167d351b062942d32 (diff) | |
| parent | 31acbd3f902da4eba6fe7eaf07cb862ebac9d67c (diff) | |
| download | rust-4b696e6bf77b4df02634d346637bd35f2960c5f4.tar.gz rust-4b696e6bf77b4df02634d346637bd35f2960c5f4.zip | |
Auto merge of #136864 - Kobzol:citool, r=marcoieni
Rewrite the `ci.py` script in Rust It would seem that I would learn by now that any script written in Python will become unmaintainable sooner or later, but alas.. r? `@marcoieni` try-job: aarch64-gnu try-job: dist-x86_64-linux-alt try-job: x86_64-msvc-ext2 Fixes: https://github.com/rust-lang/rust/issues/137013
Diffstat (limited to 'src/ci/docker')
| -rw-r--r-- | src/ci/docker/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ci/docker/README.md b/src/ci/docker/README.md index 2b1de43c2f6..a1a3a1c37ce 100644 --- a/src/ci/docker/README.md +++ b/src/ci/docker/README.md @@ -8,15 +8,15 @@ Note that a single Docker image can be used by multiple CI jobs, so the job name is the important thing that you should know. You can examine the existing CI jobs in the [`jobs.yml`](../github-actions/jobs.yml) file. -To run a specific CI job locally, you can use the following script: +To run a specific CI job locally, you can use the `citool` Rust crate: ``` -python3 ./src/ci/github-actions/ci.py run-local <job-name> +cargo --manifest-path src/ci/citool/Cargo.toml run run-local <job-name> ``` For example, to run the `x86_64-gnu-llvm-18-1` job: ``` -python3 ./src/ci/github-actions/ci.py run-local x86_64-gnu-llvm-18-1 +cargo --manifest-path src/ci/citool/Cargo.toml run run-local x86_64-gnu-llvm-18-1 ``` The job will output artifacts in an `obj/<image-name>` dir at the root of a repository. Note |
