From b44a9cb89d456bc0addac092bcd463e386337d3f Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Fri, 24 Mar 2017 16:11:51 +1000 Subject: [PATCH 1/3] add appveyor config --- appveyor.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..d9b6472d6 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,23 @@ +# Appveyor configuration template for Rust using rustup for Rust installation +# https://github.com/starkat99/appveyor-rust + +os: Visual Studio 2017 + +environment: + matrix: + - channel: nightly + target: x86_64-pc-windows-msvc + - channel: nightly + target: x86_64-pc-windows-gnu + +install: + - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe + - rustup-init -yv --default-toolchain %channel% --default-host %target% + - set PATH=%PATH%;%USERPROFILE%\.cargo\bin + - rustc -vV + - cargo -vV + +build: false + +test_script: + - cargo test --verbose \ No newline at end of file From c8e12b6847295a61b0a8ea9225b2a1381cc9dc0b Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Fri, 24 Mar 2017 16:22:32 +1000 Subject: [PATCH 2/3] try set mingw path --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index d9b6472d6..f95671e9a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,11 +9,13 @@ environment: target: x86_64-pc-windows-msvc - channel: nightly target: x86_64-pc-windows-gnu + msys_bits: 64 install: - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -yv --default-toolchain %channel% --default-host %target% - set PATH=%PATH%;%USERPROFILE%\.cargo\bin + - if defined msys_bits set PATH=%PATH%;C:\msys64\mingw%msys_bits%\bin - rustc -vV - cargo -vV From 51cab391861045b200c4941d0e188a0757ed8bee Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Fri, 24 Mar 2017 16:37:30 +1000 Subject: [PATCH 3/3] drop to vs2015 image --- appveyor.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f95671e9a..d3812cc52 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,8 +1,7 @@ # Appveyor configuration template for Rust using rustup for Rust installation # https://github.com/starkat99/appveyor-rust -os: Visual Studio 2017 - +os: Visual Studio 2015 environment: matrix: - channel: nightly @@ -22,4 +21,4 @@ install: build: false test_script: - - cargo test --verbose \ No newline at end of file + - cargo test --verbose