зеркало из https://github.com/Azure/sf-c-util.git
Build with VS2022 (#32)
This commit is contained in:
Родитель
a4c3e85203
Коммит
b28dc658d6
|
@ -6,7 +6,7 @@ jobs:
|
|||
- job: windowsx64debug
|
||||
displayName: 'Build Windows x64 Debug'
|
||||
pool:
|
||||
name: Azure-MessagingStore-WinBuildMachinePool
|
||||
name: Azure-MessagingStore-WinBuildPoolVS2022
|
||||
demands:
|
||||
- Build
|
||||
- Cmd
|
||||
|
@ -35,14 +35,14 @@ jobs:
|
|||
- task: BatchScript@1
|
||||
displayName: 'Setup VS Vars'
|
||||
inputs:
|
||||
filename: '"c:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"'
|
||||
filename: '"c:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat"'
|
||||
modifyEnvironment: true
|
||||
|
||||
- task: CMake@1
|
||||
displayName: 'CMake .. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=OFF -Dabort_on_fail:bool=ON -Duse_vld:bool=ON -G "Visual Studio 16 2019" -A x64'
|
||||
displayName: 'CMake .. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=OFF -Dabort_on_fail:bool=ON -Duse_vld:bool=ON -G "Visual Studio 17 2022" -A x64'
|
||||
inputs:
|
||||
workingDirectory: 'build_x64'
|
||||
cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=OFF -Dabort_on_fail:bool=ON -Duse_vld:bool=ON -G "Visual Studio 16 2019" -A x64'
|
||||
cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=OFF -Dabort_on_fail:bool=ON -Duse_vld:bool=ON -G "Visual Studio 17 2022" -A x64'
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build solution build_x64\*.sln'
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
- job: windowsx64relwithdebinfo
|
||||
displayName: 'Build Windows x64 RelWithDebInfo'
|
||||
pool:
|
||||
name: Azure-MessagingStore-WinBuildMachinePool
|
||||
name: Azure-MessagingStore-WinBuildPoolVS2022
|
||||
demands:
|
||||
- Build
|
||||
- Cmd
|
||||
|
@ -93,14 +93,14 @@ jobs:
|
|||
- task: BatchScript@1
|
||||
displayName: 'Setup VS Vars'
|
||||
inputs:
|
||||
filename: '"c:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"'
|
||||
filename: '"c:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat"'
|
||||
modifyEnvironment: true
|
||||
|
||||
- task: CMake@1
|
||||
displayName: 'CMake .. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64'
|
||||
displayName: 'CMake .. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 17 2022" -A x64'
|
||||
inputs:
|
||||
workingDirectory: 'build_x64'
|
||||
cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64'
|
||||
cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 17 2022" -A x64'
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build solution build_x64\*.sln'
|
||||
|
@ -121,7 +121,7 @@ jobs:
|
|||
|
||||
- job: Traceability
|
||||
pool:
|
||||
name: Azure-MessagingStore-WinBuildMachinePool
|
||||
name: Azure-MessagingStore-WinBuildPoolVS2022
|
||||
demands:
|
||||
- Build
|
||||
- Cmd
|
||||
|
@ -150,7 +150,7 @@ jobs:
|
|||
- task: BatchScript@1
|
||||
displayName: 'Setup VS Vars'
|
||||
inputs:
|
||||
filename: '"c:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"'
|
||||
filename: '"c:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat"'
|
||||
modifyEnvironment: true
|
||||
|
||||
- task: CMake@1
|
||||
|
@ -210,7 +210,7 @@ jobs:
|
|||
# - task: BatchScript@1
|
||||
# displayName: 'Setup VS Vars'
|
||||
# inputs:
|
||||
# filename: '"c:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
|
||||
# filename: '"c:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
|
||||
# modifyEnvironment: true
|
||||
#
|
||||
# - task: CMake@1
|
||||
|
|
Загрузка…
Ссылка в новой задаче