1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Merge PR #1186: Azure Pipelines: switch from MSVC 2017 to 2019

This commit is contained in:
Davide Beatrici 2020-07-27 20:59:31 +02:00 committed by GitHub
commit 2cdffffa54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ parameters:
steps:
- script: |
cd /d $(Build.BinariesDirectory)
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars${{parameters.bits}}.bat"
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=cl "-DCMAKE_CXX_COMPILER=cl" $(Build.SourcesDirectory)
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars${{parameters.bits}}.bat"
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl $(Build.SourcesDirectory)
cmake --build .
displayName: 'Build'
- powershell: |

View File

@ -2,7 +2,7 @@ jobs:
- job: windows_x86_64
displayName: 'Windows (x86_64)'
pool:
vmImage: vs2017-win2016
vmImage: windows-latest
steps:
- template: "azure-pipelines-win-steps.yml"
parameters:
@ -10,7 +10,7 @@ jobs:
- job: windows_x86
displayName: 'Windows (x86)'
pool:
vmImage: vs2017-win2016
vmImage: windows-latest
steps:
- template: "azure-pipelines-win-steps.yml"
parameters: