Update build-package-for-windows.yml: change machine pool (#515)
Change the machine pool from Win-CPU-2021 to onnxruntime-Win-CPU-2022
This commit is contained in:
Родитель
997e9ee007
Коммит
4c2e13e380
|
@ -24,7 +24,7 @@ parameters:
|
|||
|
||||
- name: BuildPool
|
||||
type: string
|
||||
default: 'Win-CPU-2021'
|
||||
default: 'onnxruntime-Win-CPU-2022'
|
||||
|
||||
- name: AdditionalBuildFlags
|
||||
displayName: Additional build flags for build_lib.bat
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
displayName: 'build onnxruntime-extensions and run tests'
|
||||
inputs:
|
||||
filename: '.\build_lib.bat'
|
||||
arguments: '--${{parameters.BuildPlatform}} --build_dir $(Build.BinariesDirectory)/out --config RelWithDebInfo --cmake_generator "Visual Studio 16 2019" --enable_cxx_tests ${{parameters.AdditionalBuildFlags}}'
|
||||
arguments: '--${{parameters.BuildPlatform}} --build_dir $(Build.BinariesDirectory)/out --config RelWithDebInfo --cmake_generator "Visual Studio 17 2022" --enable_cxx_tests ${{parameters.AdditionalBuildFlags}}'
|
||||
modifyEnvironment: true
|
||||
workingFolder: $(Build.SourcesDirectory)
|
||||
- ${{ else }}:
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
displayName: 'build onnxruntime-extensions'
|
||||
inputs:
|
||||
filename: '.\build_lib.bat'
|
||||
arguments: '--${{parameters.BuildPlatform}} --build_dir $(Build.BinariesDirectory)/out --config RelWithDebInfo --cmake_generator "Visual Studio 16 2019" ${{parameters.AdditionalBuildFlags}}'
|
||||
arguments: '--${{parameters.BuildPlatform}} --build_dir $(Build.BinariesDirectory)/out --config RelWithDebInfo --cmake_generator "Visual Studio 17 2022" ${{parameters.AdditionalBuildFlags}}'
|
||||
modifyEnvironment: true
|
||||
workingFolder: $(Build.SourcesDirectory)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче