about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-01 20:44:23 +0000
committerbors <bors@rust-lang.org>2023-06-01 20:44:23 +0000
commitd59363ad0b6391b7fc5bbb02c9ccf9300eef3753 (patch)
tree748d92228f5d256a808a3402397e43a81ea4c02e /src/ci/docker
parent789dd0b2a2cd68c129ba9b0aa1008939209adcfd (diff)
parentdb113b1c2bc1b09eb370407e7b217249cd5d263b (diff)
downloadrust-d59363ad0b6391b7fc5bbb02c9ccf9300eef3753.tar.gz
rust-d59363ad0b6391b7fc5bbb02c9ccf9300eef3753.zip
Auto merge of #111660 - Kobzol:try-build-skip-docs, r=mark-simulacrum
Do not build docs in try builds

This PR adds a new environment variable to the optimized build Python script, which causes it to ignore certain parts of the final `dist` build (mainly docs) in try builds. This reduces the duration of try builds by ~10 minutes.
Diffstat (limited to 'src/ci/docker')
-rwxr-xr-xsrc/ci/docker/run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ci/docker/run.sh b/src/ci/docker/run.sh
index 8bea8cd4c87..2fe3438e0fe 100755
--- a/src/ci/docker/run.sh
+++ b/src/ci/docker/run.sh
@@ -264,6 +264,7 @@ docker \
   --env RUST_CI_OVERRIDE_RELEASE_CHANNEL \
   --env CI_JOB_NAME="${CI_JOB_NAME-$IMAGE}" \
   --env BASE_COMMIT="$BASE_COMMIT" \
+  --env DIST_TRY_BUILD \
   --init \
   --rm \
   rust-ci \