diff options
-rw-r--r-- | src/scripts/ci/appveyor.yml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/scripts/ci/appveyor.yml b/src/scripts/ci/appveyor.yml index 37edf615a..9687f8070 100644 --- a/src/scripts/ci/appveyor.yml +++ b/src/scripts/ci/appveyor.yml @@ -1,4 +1,4 @@ -os: Windows Server 2012 R2 +os: Visual Studio 2015 platform: - x86 @@ -6,11 +6,18 @@ platform: environment: matrix: + - COMPILER: msvc-14.0 + - COMPILER: msvc-12.0 - MODE: --enable-shared - MODE: --disable-shared install: - - call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %PLATFORM% + - if %compiler% == msvc-12.0 ( + call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %PLATFORM% + ) + - if %compiler% == msvc-14.0 ( + call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM% + ) - cl # check compiler version # always build via amalgamation due to build time constraints on appveyor |