diff options
Diffstat (limited to 'third_party/rust/zip/appveyor.yml')
-rw-r--r-- | third_party/rust/zip/appveyor.yml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/third_party/rust/zip/appveyor.yml b/third_party/rust/zip/appveyor.yml new file mode 100644 index 0000000000..b9450e3c9e --- /dev/null +++ b/third_party/rust/zip/appveyor.yml @@ -0,0 +1,45 @@ +# Appveyor configuration template for Rust using rustup for Rust installation +# https://github.com/starkat99/appveyor-rust + +os: Visual Studio 2015 + +environment: + matrix: + + # Stable 64-bit MSVC + - channel: stable + target: x86_64-pc-windows-msvc + # Stable 32-bit MSVC + - channel: stable + target: i686-pc-windows-msvc + # Stable 64-bit GNU + - channel: stable + target: x86_64-pc-windows-gnu + # Stable 32-bit GNU + - channel: stable + target: i686-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 + - ps: | + if ($env:target -like "*-gnu" -And $env:target -like "x86_64-*") { + Start-FileDownload "http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/5.1.0/threads-win32/seh/x86_64-5.1.0-release-win32-seh-rt_v4-rev0.7z/download" -FileName mingw64.7z + 7z x -oC:\ mingw64.7z > $null + $env:path = "C:\mingw64\bin;" + $env:path + gcc --version + } + elseif ($env:target -like "*-gnu") { + $env:path = "C:\mingw\bin;" + $env:path + gcc --version + } + - rustc -vV + - cargo -vV + +build: false + +test_script: + - cargo test + - cargo test --no-default-features + - cargo test --no-default-features --features "deflate-miniz" |