From d95e3a31082b8cbd3228a7c955b31ed118c8c5d7 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sun, 27 Mar 2016 23:05:58 -0400 Subject: [PATCH] Create appveyor.yml --- appveyor.yml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..737c124 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,56 @@ +# This is the configuration file for AppVeyor builds. +# Look at the following for reference: +# https://www.appveyor.com/docs/appveyor-yml + +# Notes: +# - Minimal appveyor.yml file is an empty file. All sections are optional. +# - Indent each level of configuration with 2 spaces. Do not use tabs! +# - All section names are case-sensitive. +# - Section names should be unique on each level. + +#---------------------------------# +# general configuration # +#---------------------------------# + +# version format +version: 1.0.{build} + +#---------------------------------# +# environment configuration # +#---------------------------------# + +environment: + matrix: + - platform: vs + +# scripts that are called at very beginning, before repo cloning +# init: + +# clone directory +clone_folder: c:\projects\check + +# scripts that are called at very beginning, before repo cloning +init: + - git config --global core.autocrlf input + +#---------------------------------# +# build configuration # +#---------------------------------# + +# build Configuration, i.e. Debug, Release, etc. +configuration: Release + +# scripts to run before build +before_build: + - echo Running cmake... + - cd c:\projects\check + - if %platform%==vs cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%P% + +build_script: + # build code and unit tests + - if %platform%==vs msbuild "ALL_BUILD.vcxproj" + +test_script: + # run unit tests + - echo Running unit tests... + - if %platform%==vs msbuild "RUN_TESTS.vcxproj" -- 2.50.1