From 214c4253e43b03c7e8e1f75a01530a15ab235c14 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 20 May 2015 06:52:50 +0200 Subject: [PATCH] Update the appveyor file for 64bits builds --- appveyor.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index cc2c0d88..17bad943 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: