From: bel2125 Date: Tue, 29 Aug 2017 22:45:10 +0000 (+0200) Subject: Test additional AppVeyor builds X-Git-Tag: 0.12.0~4^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66943a162203436ad4a80d2a0dfb134616546a08;p=check Test additional AppVeyor builds --- 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" -