diff options
| author | bors <bors@rust-lang.org> | 2023-06-01 20:44:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-01 20:44:23 +0000 |
| commit | d59363ad0b6391b7fc5bbb02c9ccf9300eef3753 (patch) | |
| tree | 748d92228f5d256a808a3402397e43a81ea4c02e /src/ci/docker | |
| parent | 789dd0b2a2cd68c129ba9b0aa1008939209adcfd (diff) | |
| parent | db113b1c2bc1b09eb370407e7b217249cd5d263b (diff) | |
| download | rust-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-x | src/ci/docker/run.sh | 1 |
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 \ |
