New deps and use build all flavors script (#344)

* Update dependencies

* Use build all flavors script
This commit is contained in:
Dan Cristoloveanu 2024-03-29 21:27:52 -07:00 коммит произвёл GitHub
Родитель 4733c3ef2f
Коммит c3ab47a970
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 4 добавлений и 172 удалений

Просмотреть файл

@ -9,175 +9,7 @@ resources:
endpoint: github.com_azure
ref: refs/heads/master
jobs:
- job: windowsx64debug
displayName: 'Build Windows x64 Debug'
pool:
name: Azure-MessagingStore-WinBuildPoolVS2022
demands:
- Build
- Cmd
- msbuild
- visualstudio
steps:
- task: BatchScript@1
displayName: 'Git submodule update'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'submodule update --init --force'
- task: BatchScript@1
displayName: 'Git submodule clean'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'submodule foreach --recursive "git clean -xdff"'
- task: BatchScript@1
displayName: 'Git clean'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'clean -xdff'
- task: BatchScript@1
displayName: 'Setup VS Vars'
inputs:
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 -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 -Duse_vld:bool=ON -G "Visual Studio 17 2022" -A x64'
- task: VSBuild@1
displayName: 'Build solution build_x64\*.sln'
inputs:
solution: 'build_x64\*.sln'
msbuildArgs: '/t:restore /t:build'
configuration: Debug
maximumCpuCount: true
- task: CmdLine@1
displayName: 'Run ctest'
inputs:
filename: ctest
arguments: '-C "Debug" -V --output-on-failure'
workingFolder: 'build_x64'
- job: windowsx64relwithdebinfo
displayName: 'Build Windows x64 RelWithDebInfo'
pool:
name: Azure-MessagingStore-WinBuildPoolVS2022
demands:
- Build
- Cmd
- msbuild
- visualstudio
- vstest
steps:
- task: BatchScript@1
displayName: 'Git submodule update'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'submodule update --init --force'
- task: BatchScript@1
displayName: 'Git submodule clean'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'submodule foreach --recursive "git clean -xdff"'
- task: BatchScript@1
displayName: 'Git clean'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'clean -xdff'
- task: BatchScript@1
displayName: 'Setup VS Vars'
inputs:
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 -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 -G "Visual Studio 17 2022" -A x64'
- task: VSBuild@1
displayName: 'Build solution build_x64\*.sln'
inputs:
solution: 'build_x64\*.sln'
msbuildArgs: '/t:restore /t:build'
configuration: RelWithDebInfo
maximumCpuCount: true
- task: VSTest@2
displayName: 'VsTest - testAssemblies'
inputs:
testAssemblyVer2: |
**\*test*.dll
!**\obj\**
runTestsInIsolation: true
- job: windowsx86debug
displayName: 'Build Windows x86 Debug'
pool:
name: Azure-MessagingStore-WinBuildPoolVS2022
demands:
- Build
- Cmd
- msbuild
- visualstudio
steps:
- task: BatchScript@1
displayName: 'Git submodule update'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'submodule update --init --force'
- task: BatchScript@1
displayName: 'Git submodule clean'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'submodule foreach --recursive "git clean -xdff"'
- task: BatchScript@1
displayName: 'Git clean'
inputs:
filename: 'C:\Program Files\Git\bin\git.exe'
arguments: 'clean -xdff'
- task: BatchScript@1
displayName: 'Setup VS Vars'
inputs:
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 -Drun_e2e_tests:bool=ON -Duse_vld:bool=ON -G "Visual Studio 17 2022" -A Win32'
inputs:
workingDirectory: 'build_x86'
cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Drun_e2e_tests:bool=ON -Duse_vld:bool=ON -G "Visual Studio 17 2022" -A Win32'
- task: VSBuild@1
displayName: 'Build solution build_x86\*.sln'
inputs:
solution: 'build_x86\*.sln'
msbuildArgs: '/t:restore /t:build'
configuration: Debug
maximumCpuCount: true
- task: CmdLine@1
displayName: 'Run ctest'
inputs:
filename: ctest
arguments: '-C "Debug" -V --output-on-failure'
workingFolder: 'build_x86'
- template: /pipeline_templates/build_all_flavors.yml@c_build_tools
- template: /pipeline_templates/codeql3000_default.yml@c_build_tools

2
deps/c-logging поставляемый

@ -1 +1 @@
Subproject commit f89c5c48374ab9b1b4db3b422237c4a05b1fbee9
Subproject commit 2d122da94a3ea49dc0b4309b7222719b3babf493

2
deps/c-testrunnerswitcher поставляемый

@ -1 +1 @@
Subproject commit 6881ad4b881ab67f7e1f6499a954922968dae495
Subproject commit e41a33919607088f88d83a332c9312e38084f110

2
deps/ctest поставляемый

@ -1 +1 @@
Subproject commit b35551d7440dcc88e0e6355773843b3ed40a30f2
Subproject commit cc778adf081232b4c5f4997424c59fe7f059d378