ci: Update to Windows Server 2019 and Visual Studio 2019

This updates to the latest available toolchain for MSVC builds.
This commit is contained in:
Zach Hilman 2020-04-04 16:13:57 -04:00
parent e6f02d5725
commit 59e75f4372
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ parameters:
version: '' version: ''
steps: steps:
- script: mkdir build && cd build && cmake -G "Visual Studio 15 2017 Win64" --config Release -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_BUNDLED_UNICORN=1 -DYUZU_USE_QT_WEB_ENGINE=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DUSE_DISCORD_PRESENCE=ON -DDISPLAY_VERSION=${{ parameters['version'] }} .. && cd .. - script: mkdir build && cd build && cmake -G "Visual Studio 16 2019" -A x64 --config Release -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_BUNDLED_UNICORN=1 -DYUZU_USE_QT_WEB_ENGINE=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DUSE_DISCORD_PRESENCE=ON -DDISPLAY_VERSION=${{ parameters['version'] }} .. && cd ..
displayName: 'Configure CMake' displayName: 'Configure CMake'
- task: MSBuild@1 - task: MSBuild@1
displayName: 'Build' displayName: 'Build'

View file

@ -45,7 +45,7 @@ stages:
- job: build - job: build
displayName: 'msvc' displayName: 'msvc'
pool: pool:
vmImage: vs2017-win2016 vmImage: windows-2019
steps: steps:
- template: ./templates/sync-source.yml - template: ./templates/sync-source.yml
parameters: parameters:

View file

@ -22,7 +22,7 @@ stages:
- job: build - job: build
displayName: 'windows-msvc' displayName: 'windows-msvc'
pool: pool:
vmImage: vs2017-win2016 vmImage: windows-2019
steps: steps:
- template: ./templates/sync-source.yml - template: ./templates/sync-source.yml
parameters: parameters: