From: Branden Archer Date: Mon, 28 Mar 2016 11:58:58 +0000 (-0400) Subject: Build MSVC with AppVeyor X-Git-Tag: 0.11.0~31^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85787bdadec569e909a59a760fe7e4d3ef927261;p=check Build MSVC with AppVeyor --- diff --git a/appveyor.yml b/appveyor.yml index 737c124..cad5164 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,6 +21,7 @@ version: 1.0.{build} environment: matrix: + - platform: msvc - platform: vs # scripts that are called at very beginning, before repo cloning @@ -44,13 +45,17 @@ configuration: Release before_build: - echo Running cmake... - cd c:\projects\check + - if %platform%==msvc call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" + - if %platform%==msvc cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%P% - if %platform%==vs cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%P% build_script: # build code and unit tests + - if %platform%==msvc nmake - if %platform%==vs msbuild "ALL_BUILD.vcxproj" test_script: # run unit tests - echo Running unit tests... + - if %platform%==msvc nmake test - if %platform%==vs msbuild "RUN_TESTS.vcxproj"