From 5ee8916d4d9003bcca919cb0a5991310e585ec8b Mon Sep 17 00:00:00 2001 From: maik klein Date: Mon, 26 Dec 2016 02:10:27 +0100 Subject: [PATCH] Add windows CI --- appveyor.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..ed3851b --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,16 @@ +environment: + matrix: + - TARGET: 1.13.0-x86_64-pc-windows + COMPILER: gnu + - TARGET: 1.13.0-x86_64-pc-windows + COMPILER: msvc +install: + - if %COMPILER%==gnu choco install -y mingw + - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}-${env:COMPILER}.exe" -FileName "rust-install.exe" + - ps: .\rust-install.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null + - ps: $env:PATH="$env:PATH;C:\rust\bin;C:\tools\mingw64\bin" + - if %COMPILER%==gnu gcc -v + - rustc -vV + - cargo -vV +build_script: + - cargo build