From 8a0e8e228cf3777315e604bae678620221106831 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 20 Mar 2018 15:27:50 -0400 Subject: [PATCH] Add CI --- 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 00000000..480287b7 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,23 @@ +pull_requests: + do_not_increment_build_number: true +version: '{build}' +branches: + only: + - master +environment: + matrix: + - BUILD_POSTFIX: "--all" + - BUILD_POSTFIX: "--all --release" +shallow_clone: true +image: Visual Studio 2017 +cache: + - target\debug\deps -> Cargo.lock + - target\release\deps -> Cargo.lock +install: + - curl -sSf -o rustup-init.exe https://win.rustup.rs + - rustup-init.exe --default-host x86_64-pc-windows-msvc --default-toolchain stable -y + - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin + - rustc -Vv + - cargo -V +build_script: + - cargo build %BUILD_POSTFIX%