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