diff options
author | Nicolas Schneider <nioncode+git@gmail.com> | 2017-03-22 11:32:50 +0100 |
---|---|---|
committer | Nicolas Schneider <nioncode+git@gmail.com> | 2017-03-22 11:32:50 +0100 |
commit | 52076967b6a4f70b60423dd19308b219e4c80a9a (patch) | |
tree | e5658cb262f75b561d461c6d94a44c6c9390ec7d | |
parent | 994696e0ad9adc6e25e8ae77c0f84f8998789e3f (diff) | |
download | meson-52076967b6a4f70b60423dd19308b219e4c80a9a.zip meson-52076967b6a4f70b60423dd19308b219e4c80a9a.tar.gz meson-52076967b6a4f70b60423dd19308b219e4c80a9a.tar.bz2 |
add appveyor config for VS2017
The 'Visual Studio 2017' image does not include VS2010, so we have to use
the 'Visual Studio 2015' image by default and only use the 2017 image for
msvc2017 compiler tests.
-rw-r--r-- | .appveyor.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 289758d..d69d37a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -20,6 +20,16 @@ environment: compiler: msvc2015 backend: vs2015 + - arch: x86 + compiler: msvc2017 + backend: ninja + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + + - arch: x86 + compiler: msvc2017 + backend: vs2015 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + - arch: x64 compiler: msvc2015 backend: ninja @@ -28,6 +38,16 @@ environment: compiler: msvc2015 backend: vs2015 + - arch: x64 + compiler: msvc2017 + backend: ninja + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + + - arch: x64 + compiler: msvc2017 + backend: vs2015 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + platform: - x64 @@ -43,6 +63,7 @@ install: - cmd: echo Using Python at %MESON_PYTHON_PATH% - cmd: if %compiler%==msvc2010 ( call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" %arch% ) - cmd: if %compiler%==msvc2015 ( call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %arch% ) + - cmd: if %compiler%==msvc2017 ( call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=%arch% ) build_script: - cmd: echo No build step. |