From 66943a162203436ad4a80d2a0dfb134616546a08 Mon Sep 17 00:00:00 2001 From: bel2125 Date: Wed, 30 Aug 2017 00:45:10 +0200 Subject: [PATCH] Test additional AppVeyor builds --- appveyor.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e1686b6..44c5193 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,6 +21,8 @@ version: 1.0.{build} environment: + vsversion: none + arch: default matrix: - platform: msvc - platform: vs @@ -103,6 +105,15 @@ before_build: - if %platform%==vs ( set "makecommand=Visual Studio" ) + - if %platform%==vs ( + set "vcx=true" + ) + - if %vsversion%==2005 ( + set "vcx=false" + ) + - if %vsversion%==2008 ( + set "vcx=false" + ) - if %vsversion%==2005 ( set "makecommand=%makecommand% 8 %vsversion%" ) @@ -162,7 +173,16 @@ before_build: build_script: # build code and unit tests - if %platform%==msvc nmake - - if %platform%==vs msbuild /p:Platform=%arch% "ALL_BUILD.vcxproj" + - if %platform%==vs ( + if %vcx%==true ( + msbuild /p:Platform=%arch% "ALL_BUILD.vcxproj" + ) + ) + - if %platform%==vs ( + if %vcx%==false ( + msbuild "ALL_BUILD.vcproj" + ) + ) - if %platform%==cygwin bash -c "make" - if %platform%==mingw32 mingw32-make - if %platform%==mingw64msys bash -c "make" @@ -178,4 +198,3 @@ test_script: on_finish: - if %platform%==cygwin bash -c "cat tests/test-suite.log || true" - -- 2.50.1