From a6f8a3f27ef5e475ef623768c52fa54b8886b9d4 Mon Sep 17 00:00:00 2001 From: daa84 Date: Thu, 20 Apr 2017 17:00:37 +0300 Subject: [PATCH] Create appveyor.yml --- 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..d9ea281 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,16 @@ +install: + - ps: Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable" + - ps: $env:RUST_VERSION = Get-Content channel-rust-stable | select -first 1 | %{$_.split('-')[1]}} + - if NOT "%RUST%" == "nightly" set RUST_VERSION=%RUST% + - SET RUST_URL=https://static.rust-lang.org/dist/rust-%RUST_VERSION%-%ARCH%-pc-windows-gnu.exe + - SET PATH=C:\Rust\bin;C:\msys64\mingw%BITS%\bin;%PATH%;C:\msys64\usr\bin + - ps: Start-FileDownload $Env:RUST_URL -FileName rust-dist.exe + - rust-dist.exe /VERYSILENT /NORESTART /COMPONENTS="Rustc,Gcc,Cargo,Std" /DIR="C:\Rust" + - rustc -V + - cargo -V + - pacman --noconfirm -S mingw-w64-%ARCH%-gtk3 + +build_script: + - cargo test + +test: false