update appveyor to msvc 2017

This commit is contained in:
Martin Müllenhaupt 2018-05-30 11:06:47 +02:00
parent 66fa38e90d
commit a627d1bc9a

View file

@ -1,4 +1,4 @@
os: Visual Studio 2015 image: Visual Studio 2017
matrix: matrix:
fast_finish: true fast_finish: true
@ -13,9 +13,10 @@ configuration:
clone_folder: c:\projects\libwebrtc clone_folder: c:\projects\libwebrtc
before_build: before_build:
- cmd: set GYP_MSVS_VERSION=2017
- cd c:\projects\libwebrtc - cd c:\projects\libwebrtc
- if "%platform%"=="x86" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 - if "%platform%"=="x86" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017
- if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64 - if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017 Win64
- cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%configuration% -DWEBRTC_BRANCH_HEAD=refs/branch-heads/66 -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=c:\projects\libwebrtc . - cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%configuration% -DWEBRTC_BRANCH_HEAD=refs/branch-heads/66 -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=c:\projects\libwebrtc .
build: build: