appveyor: use rustup
This commit is contained in:
parent
6288f23368
commit
b2ea9d582f
|
@ -4,9 +4,9 @@ environment:
|
||||||
- TARGET: x86_64-pc-windows-msvc
|
- TARGET: x86_64-pc-windows-msvc
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
|
- curl -sSf -o rustup-init.exe https://win.rustup.rs
|
||||||
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
- rustup-init.exe --default-host %TARGET% --default-toolchain nightly -y
|
||||||
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
||||||
- gem install gist
|
- gem install gist
|
||||||
- rustc -Vv
|
- rustc -Vv
|
||||||
- cargo -V
|
- cargo -V
|
||||||
|
|
Loading…
Reference in New Issue