about summary refs log tree commit diff
path: root/src/ci/github-actions
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-03-15 13:10:49 +0100
committerJakub Beránek <berykubik@gmail.com>2025-03-15 13:24:29 +0100
commit7c792e29d71f83407318e730015caa0003bbb9f4 (patch)
tree6e5ed71b792a75fc424532b53347ebf3c09ccc9d /src/ci/github-actions
parentaa95b9648ad0383a3fd73b5271dd86f848b7c00c (diff)
downloadrust-7c792e29d71f83407318e730015caa0003bbb9f4.tar.gz
rust-7c792e29d71f83407318e730015caa0003bbb9f4.zip
Only use `DIST_TRY_BUILD` for try jobs that were not selected explicitly
Diffstat (limited to 'src/ci/github-actions')
-rw-r--r--src/ci/github-actions/jobs.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ci/github-actions/jobs.yml b/src/ci/github-actions/jobs.yml
index d8c3625af28..ae029cb7779 100644
--- a/src/ci/github-actions/jobs.yml
+++ b/src/ci/github-actions/jobs.yml
@@ -82,15 +82,13 @@ envs:
     AWS_REGION: us-west-1
     TOOLSTATE_PUBLISH: 1
 
+  # Try builds started through `@bors try` (without specifying custom jobs
+  # in the PR description) will be passed the `DIST_TRY_BUILD` environment
+  # variable by citool.
+  # This tells the `opt-dist` tool to skip building certain components
+  # and skip running tests, so that the try build finishes faster.
   try:
     <<: *production
-    # The following env var activates faster `try` builds in `opt-dist` by, e.g.
-    # - building only the more commonly useful components (we rarely need e.g. rust-docs in try
-    #   builds)
-    # - not running `opt-dist`'s post-optimization smoke tests on the resulting toolchain
-    #
-    # If you *want* these to happen however, temporarily comment it before triggering a try build.
-    DIST_TRY_BUILD: 1
 
   auto:
     <<: *production