diff options
| author | Eric Huss <eric@huss.org> | 2023-01-31 18:13:57 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2023-01-31 18:13:57 -0800 |
| commit | 5e90940a4b742e7f1e86f21c26b56e99a8733458 (patch) | |
| tree | 7d48c08587c3edf39f93a16a593b49a609a8005f /src | |
| parent | dc1d9d50fba2f6a1ccab8748a0050cde38253f60 (diff) | |
Enable Cargo's sparse protocol in CI
Diffstat (limited to 'src')
| -rw-r--r-- | src/ci/github-actions/ci.yml | 1 | ||||
| -rwxr-xr-x | src/ci/run.sh | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml index 5e676a470a0..dc09c120199 100644 --- a/src/ci/github-actions/ci.yml +++ b/src/ci/github-actions/ci.yml @@ -33,6 +33,7 @@ x--expand-yaml-anchors--remove: - &shared-ci-variables CI_JOB_NAME: ${{ matrix.name }} + CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse - &public-variables SCCACHE_BUCKET: rust-lang-ci-sccache2 diff --git a/src/ci/run.sh b/src/ci/run.sh index 0db9c993eec..93dccb54c4e 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -45,6 +45,8 @@ fi ci_dir=`cd $(dirname $0) && pwd` source "$ci_dir/shared.sh" +export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse + if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf; then RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests" RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics" |
