From 5bfbc36a1c35b4101f083a39d2c33564823a35c3 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Fri, 6 Apr 2018 03:11:39 +0200 Subject: [PATCH] testing appveyor --- appveyor.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..d6f57a8 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,48 @@ +version: '{build}' +branches: + only: + - master +clone_folder: c:\projects\cmake-init +image: + - Visual Studio 2013 + - Visual Studio 2015 + - Visual Studio 2017 +configuration: + - Release + - Debug +platform: + - x64 +environment: + matrix: + - arch: Win64 + # - arch: #does not work, Release|x64 not a valid target +matrix: + fast_finish: true + +# skip unsupported combinations +init: + - set arch= + - if "%arch%"=="Win64" ( set arch= Win64) + - echo %arch% + - echo %APPVEYOR_BUILD_WORKER_IMAGE% + - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" ) + - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015%arch%" ) + - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013%arch%" ) + - echo %generator% + +before_build: + - cmd: |- + mkdir build + cd build + cmake --version + cmake .. + +build: + project: c:\projects\cmake-init\build\template.sln + verbosity: minimal + parallel: true +only_commits: + files: + - CMakeLists.txt + - appveyor.yml + - src/