Add ARM64EC build jobs (#18870)

### Description
Add ARM64EC build jobs in post merge pipeline to validate if our code is
compatible with Windows ARM64EC.
This commit is contained in:
Changming Sun 2023-12-21 16:31:38 -08:00 committed by GitHub
parent 5b93c465a8
commit 3d8f229d39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,11 +10,12 @@ stages:
UseWebPoolName: true
WebCpuPoolName: 'Onnxruntime-Win-CPU-2022'
# The follow section has 12 different build jobs that can be divided into 3 groups:
# The follow section has 15 different build jobs that can be divided into 3 groups:
# 1. Default CPU build with normal win32 linking, without ORT extension
# 2. Default CPU build with wcos linking(use apiset), without ORT extension
# 3. Default CPU build with normal win32 linking with ORT extension
# Each group has 4 jobs that cover:
# o Windows ARM64EC
# o Windows ARM64
# o Windows ARM
# o Windows x64
@ -62,6 +63,20 @@ stages:
buildNodejs: true
ort_build_pool_name: 'onnxruntime-Win-CPU-2022'
- template: templates/win-ci.yml
parameters:
DoCompliance: false
DoEsrp: false
stage_name_suffix: CPU_arm64ec_default
buildArch: x64
msbuildPlatform: ARM64EC
packageName: arm64ec
buildparameter: --arm64ec --enable_onnx_tests --path_to_protoc_exe $(Build.BinariesDirectory)\RelWithDebInfo\installed\bin\protoc.exe
runTests: false
buildJava: false
buildNodejs: false
ort_build_pool_name: 'onnxruntime-Win-CPU-2022'
- template: templates/win-ci.yml
parameters:
DoCompliance: false
@ -121,6 +136,21 @@ stages:
buildNodejs: true
ort_build_pool_name: 'onnxruntime-Win-CPU-2022'
- template: templates/win-ci.yml
parameters:
DoCompliance: false
DoEsrp: false
stage_name_suffix: CPU_arm64ec_wcos
artifact_name_suffix: '-wcos'
buildArch: x64
msbuildPlatform: ARM64EC
packageName: arm64ec
buildparameter: --enable_wcos --arm64ec --enable_onnx_tests --path_to_protoc_exe $(Build.BinariesDirectory)\RelWithDebInfo\installed\bin\protoc.exe
runTests: false
buildJava: false
buildNodejs: false
ort_build_pool_name: 'onnxruntime-Win-CPU-2022'
- template: templates/win-ci.yml
parameters:
DoCompliance: false
@ -181,6 +211,21 @@ stages:
buildNodejs: true
ort_build_pool_name: 'onnxruntime-Win-CPU-2022'
#- template: templates/win-ci.yml
# parameters:
# DoCompliance: false
# DoEsrp: false
# stage_name_suffix: CPU_arm64ec_extension
# artifact_name_suffix: '-extension'
# buildArch: x64
# msbuildPlatform: ARM64EC
# packageName: arm64ec
# buildparameter: --arm64ec --use_extensions --enable_onnx_tests --path_to_protoc_exe $(Build.BinariesDirectory)\RelWithDebInfo\installed\bin\protoc.exe
# runTests: false
# buildJava: false
# buildNodejs: false
# ort_build_pool_name: 'onnxruntime-Win-CPU-2022'
- template: templates/win-ci.yml
parameters:
DoCompliance: false