ci: rustup toolchain install --profile minimal

This commit is contained in:
Trevor Spiteri 2019-12-31 17:24:36 +01:00
parent ab0aa534c7
commit c6e9ecbfb1
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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