From 4039a5e6a9dd33549e8d394dcd0c622a9fa0bca6 Mon Sep 17 00:00:00 2001 From: Pierre-Henri Symoneaux Date: Mon, 29 May 2017 22:53:59 +0200 Subject: Use rustup to install rust in appveyor script Fixes #50 --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f6bea69..e8d3e26 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ 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-gnu/rustup-init.exe' + - rustup-init.exe -y --default-host x86_64-pc-windows-gnu --default-toolchain stable + - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -V - cargo -V -- cgit v1.2.3 From b167e171d704963ec1173a96b35b1abb69474ab0 Mon Sep 17 00:00:00 2001 From: Pierre-Henri Symoneaux Date: Mon, 29 May 2017 23:08:53 +0200 Subject: Appveyor now tests against 32 & 64 bits gnu and msvc stable rust --- appveyor.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e8d3e26..f653c4b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,13 @@ +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/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe' - - rustup-init.exe -y --default-host x86_64-pc-windows-gnu --default-toolchain stable + - 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 -- cgit v1.2.3