mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 18:19:53 +03:00
Azure Pipelines: switch from MSVC 2017 to 2019
This commit is contained in:
parent
ff247687ed
commit
8e53b948c5
@ -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: |
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user