diff options
-rw-r--r-- | appveyor.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/appveyor.yml b/appveyor.yml index 4c30da9..108ea79 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,13 +1,13 @@ +environment: + matrix: + - TARGET: x86_64-pc-windows-msvc + - TARGET: i686-pc-windows-gnu install: - - ps: Start-FileDownload 'https://static.rust-lang.org/dist/rustc-nightly-x86_64-pc-windows-msvc.tar.gz' - - ps: Start-FileDownload 'https://static.rust-lang.org/cargo-dist/cargo-nightly-x86_64-pc-windows-gnu.tar.gz' + - 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" - call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64 - - 7z x rustc-nightly-x86_64-pc-windows-msvc.tar.gz > nul - - 7z x rustc-nightly-x86_64-pc-windows-msvc.tar > nul - - 7z x cargo-nightly-x86_64-pc-windows-gnu.tar.gz > nul - - 7z x cargo-nightly-x86_64-pc-windows-gnu.tar > nul - - SET PATH=%PATH%;%cd%/rustc-nightly-x86_64-pc-windows-msvc/rustc/bin - - SET PATH=%PATH%;%cd%/cargo-nightly-x86_64-pc-windows-gnu/cargo/bin + - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - SET PATH=%PATH%;C:\MinGW\bin - rustc -V - cargo -V |