Skip to content

Commit

Permalink
Add ARM64EC build jobs (#18870)
Browse files Browse the repository at this point in the history
### Description
Add ARM64EC build jobs in post merge pipeline to validate if our code is
compatible with Windows ARM64EC.
  • Loading branch information
snnn authored Dec 22, 2023
1 parent 5b93c46 commit 3d8f229
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion tools/ci_build/github/azure-pipelines/post-merge-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3d8f229

Please sign in to comment.