diff --git a/appveyor.yml b/appveyor.yml index 6a1b8dc19c..6ac24a3ae0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,12 +1,19 @@ environment: matrix: - TARGET: x86_64-pc-windows-msvc + CHANNEL: nightly + - TARGET: x86_64-pc-windows-msvc + CHANNEL: stable + - TARGET: x86_64-pc-windows-msvc + CHANNEL: 1.24.1 - TARGET: i686-pc-windows-msvc + CHANNEL: nightly - TARGET: i686-pc-windows-gnu + CHANNEL: nightly install: - - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" - - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe + - rustup-init -yv --default-toolchain %CHANNEL% --default-host %TARGET% + - SET PATH=%PATH%;%USERPROFILE%\.cargo\bin - SET PATH=%PATH%;C:\MinGW\bin - rustc -V - cargo -V