diff options
-rw-r--r-- | appveyor.yml | 17 |
1 files 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: |