From 8717b4b9c85cc2e66273fe623bebdbcba03fe938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Wed, 1 Apr 2026 11:56:45 +0200 Subject: [PATCH 1/2] Use a different name for fast try builds --- src/ci/github-actions/jobs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ci/github-actions/jobs.yml b/src/ci/github-actions/jobs.yml index 7c0f1d3f2930..97ddde799a75 100644 --- a/src/ci/github-actions/jobs.yml +++ b/src/ci/github-actions/jobs.yml @@ -94,6 +94,7 @@ jobs: dist-x86_64-linux: &job-dist-x86_64-linux name: dist-x86_64-linux env: + IMAGE: dist-x86_64-linux CODEGEN_BACKENDS: llvm,cranelift DOCKER_SCRIPT: dist.sh <<: *job-linux-36c-codebuild @@ -150,6 +151,7 @@ pr: # it in each job definition. try: - <<: *job-dist-x86_64-linux + name: dist-x86_64-linux-quick # Jobs that only run when explicitly invoked in one of the following ways: # - comment `@bors try jobs=` From cdde49123f4b070545d1146663421abef8e82999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Tue, 7 Apr 2026 17:23:32 +0200 Subject: [PATCH 2/2] Document the `-quick` job suffix --- src/doc/rustc-dev-guide/src/tests/ci.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/doc/rustc-dev-guide/src/tests/ci.md b/src/doc/rustc-dev-guide/src/tests/ci.md index 5581b7eb9d8d..b656d9495e0b 100644 --- a/src/doc/rustc-dev-guide/src/tests/ci.md +++ b/src/doc/rustc-dev-guide/src/tests/ci.md @@ -150,7 +150,10 @@ Such a try build will not execute any tests, and it will allow compilation warni It is useful when you want to get an optimized toolchain as fast as possible, for a Crater run or performance benchmarks, even if it might not be working fully correctly. -If you want to do a full build for the default try job, + +The CI job executed in fast try builds has a special suffix (`-quick`), +to distinguish it from a full build of the default try job. +If you want to do the full build instead, specify its job name in a job pattern (explained below). If you want to run custom CI jobs in a try build and make sure that they pass all tests and do