From 5b658ab9ee755445a50b4fb910897639be786f5f Mon Sep 17 00:00:00 2001 From: Eh2406 Date: Tue, 15 Oct 2019 11:17:14 -0400 Subject: [PATCH] dont download std-docs on CI --- ci/azure-install-rust.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/azure-install-rust.yml b/ci/azure-install-rust.yml index c48d0d0155f..9d47a7cd6b4 100644 --- a/ci/azure-install-rust.yml +++ b/ci/azure-install-rust.yml @@ -4,12 +4,13 @@ steps: if command -v rustup; then echo `command -v rustup` `rustup -V` already installed rustup self update + rustup set profile minimal elif [ "$AGENT_OS" = "Windows_NT" ]; then curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe -y --default-toolchain $TOOLCHAIN + rustup-init.exe -y --default-toolchain $TOOLCHAIN --profile=minimal echo "##vso[task.prependpath]$USERPROFILE/.cargo/bin" else - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN + curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN --profile=minimal echo "##vso[task.prependpath]$HOME/.cargo/bin" fi displayName: Install rustup