]> granicus.if.org Git - check/commitdiff
Add various Visual Studio versions to AppVeyor CI
authorbel2125 <bel2125@gmail.com>
Sat, 26 Aug 2017 17:31:45 +0000 (19:31 +0200)
committerbel2125 <bel2125@gmail.com>
Sat, 26 Aug 2017 17:31:45 +0000 (19:31 +0200)
appveyor.yml

index 9fb8894cd48db44a3bfbe92ab5193174d0f508d7..42679d826dd00027362b897bddfd8a7815efa994 100644 (file)
@@ -22,7 +22,13 @@ version: 1.0.{build}
 environment:
   matrix:
   - platform: msvc
-  - platform: vs
+  - platform: vs2008_32
+  - platform: vs2010_32
+  - platform: vs2012_32
+  - platform: vs2012_64
+  - platform: vs2013_64
+  - platform: vs2015_64
+  - platform: vs2017_64
   - platform: cygwin
   - platform: mingw32
   - platform: mingw64msys
@@ -52,7 +58,13 @@ before_build:
   - set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
   - 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%
+  - if %platform%==vs2008_32 cmake -G "Visual Studio 9 2008 Win32" -DCMAKE_INSTALL_PREFIX=%P%
+  - if %platform%==vs2010_32 cmake -G "Visual Studio 10 2010 Win32" -DCMAKE_INSTALL_PREFIX=%P%
+  - if %platform%==vs2012_32 cmake -G "Visual Studio 11 2012 Win32" -DCMAKE_INSTALL_PREFIX=%P%
+  - if %platform%==vs2012_64 cmake -G "Visual Studio 11 2012 Win64" -DCMAKE_INSTALL_PREFIX=%P%
+  - if %platform%==vs2013_64 cmake -G "Visual Studio 12 2013 Win64" -DCMAKE_INSTALL_PREFIX=%P%
+  - if %platform%==vs2015_64 cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%P%
+  - if %platform%==vs2017_64 cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=%P%
   - if %platform%==cygwin set PATH=C:\cygwin\bin;%PATH%
   - if %platform%==cygwin bash -c "autoreconf -i"
   - if %platform%==cygwin bash -c "./configure"