Skip to content

Commit

Permalink
dont download std-docs on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Eh2406 committed Nov 3, 2019
1 parent 6a7f505 commit 5b658ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/azure-install-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b658ab

Please sign in to comment.