From bbfe57400d7845e688fd9154b80863d0694bd445 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 30 May 2018 13:57:40 +0200 Subject: [PATCH] appveyor.yml: Test additional Rust channels (#539) * In addition to nightly, also test the current stable version and Rust 1.24.1 * Use rustup-init.exe to install the different versions --- appveyor.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6a1b8dc1..6ac24a3a 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