summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <phsym@users.noreply.github.com>2017-05-29 23:42:16 +0200
committerGitHub <noreply@github.com>2017-05-29 23:42:16 +0200
commiteeaf0bbd9cba3455965d562847c041c56eba9005 (patch)
treec4b08210085371c2f38eb73c419c57a30f1e716e
parent3356ea2da7471ff29241d679aa3147c9d42fd175 (diff)
parentb167e171d704963ec1173a96b35b1abb69474ab0 (diff)
Merge pull request #56 from phsym/appveyor_rustup
Appveyor now uses rustup
-rw-r--r--appveyor.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index f6bea69..f653c4b 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,7 +1,14 @@
+environment:
+ matrix:
+ - TARGET: i686-pc-windows-gnu
+ - TARGET: i686-pc-windows-msvc
+ - TARGET: x86_64-pc-windows-gnu
+ - TARGET: x86_64-pc-windows-msvc
+
install:
- - ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.17.0-x86_64-pc-windows-gnu.exe'
- - rust-1.17.0-x86_64-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
+ - ps: Start-FileDownload "https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe"
+ - rustup-init.exe -y --default-host %TARGET% --default-toolchain stable
+ - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -V
- cargo -V