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
|
- curl -sSf -o rustup-init.exe https://win.rustup.rs
|
||||||
- rustup-init.exe -y --default-host %TARGET% --default-toolchain none --no-modify-path
|
- rustup-init.exe -y --default-host %TARGET% --default-toolchain none --no-modify-path
|
||||||
- rustup --version
|
- 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
|
- rustup component add --toolchain beta-%TARGET% rustfmt clippy
|
||||||
|
|
||||||
build: false
|
build: false
|
||||||
|
|
|
@ -7,8 +7,9 @@
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- getconf LONG_BIT
|
- getconf LONG_BIT
|
||||||
|
- rustup self update
|
||||||
- rustup --version
|
- 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
|
- 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/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
|
- if [ -d $CARGO_HOME/registry/cache ]; then (cd $CARGO_HOME/registry; find cache -name \*.crate) fi
|
||||||
|
|
Loading…
Reference in New Issue