From 0d7d1207330859bc3f61b5ac820e7b6cc4f03ba7 Mon Sep 17 00:00:00 2001
From: Carl Lerche <me@carllerche.com>
Date: Tue, 19 May 2015 16:39:49 -0700
Subject: [PATCH] Run Windows CI on multiple platforms

---
 appveyor.yml | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index cc2c0d8..17bad94 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,11 +1,20 @@
 install:
-  - ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.exe'
-  - rust-nightly-i686-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
-  - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
-  - rustc -V
+  - ps: |
+      if ($env:PLATFORM -eq "x86") {
+        Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.0.0-i686-pc-windows-gnu.exe' -FileName rust.exe
+      } else {
+        Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.0.0-x86_64-pc-windows-gnu.exe' -FileName rust.exe
+      }
+  - rust.exe /VERYSILENT /NORESTART /DIR="C:\Program Files\Rust"
+  - SET PATH=%PATH%;C:\Program Files\Rust\bin
+  - rustc -vV
   - cargo -V
   - git submodule update --init --recursive
 
+platform:
+  - x86
+  - x64
+
 build: false
 
 test_script:
-- 
GitLab