From c6e9ecbfb1ee32fe0dcdc81a132b807aed199705 Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Tue, 31 Dec 2019 17:24:36 +0100 Subject: [PATCH] ci: rustup toolchain install --profile minimal --- .appveyor.yml | 2 +- .gitlab-ci.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 5bdd9f3..a0166ea 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -22,7 +22,7 @@ install: - curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe -y --default-host %TARGET% --default-toolchain none --no-modify-path - rustup --version - - rustup install beta-%TARGET% 1.39.0-%TARGET% + - rustup toolchain install --profile minimal beta-%TARGET% 1.39.0-%TARGET% - rustup component add --toolchain beta-%TARGET% rustfmt clippy build: false diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1bacb1..187963d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,8 +7,9 @@ before_script: - getconf LONG_BIT + - rustup self update - rustup --version - - rustup install beta-$TARGET 1.39.0-$TARGET + - rustup toolchain install --profile minimal beta-$TARGET 1.39.0-$TARGET - rustup component add --toolchain beta-$TARGET rustfmt clippy - if [ -d cargo/registry/cache ]; then rm -rf $CARGO_HOME/registry/cache; mkdir -p $CARGO_HOME/registry; cp -R cargo/registry/cache $CARGO_HOME/registry/; echo Copied registry/cache; fi - if [ -d $CARGO_HOME/registry/cache ]; then (cd $CARGO_HOME/registry; find cache -name \*.crate) fi