mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Merge PR #1186: Azure Pipelines: switch from MSVC 2017 to 2019
This commit is contained in:
commit
2cdffffa54
@ -5,8 +5,8 @@ parameters:
|
|||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
cd /d $(Build.BinariesDirectory)
|
cd /d $(Build.BinariesDirectory)
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars${{parameters.bits}}.bat"
|
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 -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl $(Build.SourcesDirectory)
|
||||||
cmake --build .
|
cmake --build .
|
||||||
displayName: 'Build'
|
displayName: 'Build'
|
||||||
- powershell: |
|
- powershell: |
|
||||||
|
@ -2,7 +2,7 @@ jobs:
|
|||||||
- job: windows_x86_64
|
- job: windows_x86_64
|
||||||
displayName: 'Windows (x86_64)'
|
displayName: 'Windows (x86_64)'
|
||||||
pool:
|
pool:
|
||||||
vmImage: vs2017-win2016
|
vmImage: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- template: "azure-pipelines-win-steps.yml"
|
- template: "azure-pipelines-win-steps.yml"
|
||||||
parameters:
|
parameters:
|
||||||
@ -10,7 +10,7 @@ jobs:
|
|||||||
- job: windows_x86
|
- job: windows_x86
|
||||||
displayName: 'Windows (x86)'
|
displayName: 'Windows (x86)'
|
||||||
pool:
|
pool:
|
||||||
vmImage: vs2017-win2016
|
vmImage: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- template: "azure-pipelines-win-steps.yml"
|
- template: "azure-pipelines-win-steps.yml"
|
||||||
parameters:
|
parameters:
|
||||||
|
Loading…
Reference in New Issue
Block a user