ci: rustup toolchain install --profile minimal
This commit is contained in:
parent
ab0aa534c7
commit
c6e9ecbfb1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue