Skip to content

Commit 4005d12

Browse files
authored
add vitisai ep build stage to Windows CPU Pipeline (microsoft#21361)
We need to prevent VitisAI EP build breaks, add a stage in Windows CPU CI Pipeline to build Vitis AI EP on Windows. There are no external dependencies for builds. Tests have to be disabled though as the EP has external SW/HW dependencies. This will at least allow us to prevent build breaks which has happened on multiple occasions recently. tested https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=1432346&view=results and it seems to run fine.
1 parent cf565e9 commit 4005d12

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tools/ci_build/github/azure-pipelines/win-ci-pipeline.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,25 @@ stages:
137137
WITH_CACHE: false
138138
MachinePool: 'onnxruntime-Win-CPU-2022'
139139

140+
# Build only. Does not run any tests.
141+
- stage: x64_release_vitisai
142+
dependsOn: []
143+
jobs:
144+
- template: templates/jobs/win-ci-vs-2022-job.yml
145+
parameters:
146+
BuildConfig: 'RelWithDebInfo'
147+
buildArch: x64
148+
additionalBuildFlags: --build_wheel --use_vitisai
149+
msbuildPlatform: x64
150+
isX86: false
151+
job_name_suffix: x64_release
152+
RunOnnxRuntimeTests: false
153+
isTraining: false
154+
ORT_EP_NAME: VITISAI
155+
GenerateDocumentation: false
156+
WITH_CACHE: false
157+
MachinePool: 'onnxruntime-Win-CPU-2022'
158+
140159
- stage: x64_release_winml
141160
dependsOn: []
142161
jobs:

0 commit comments

Comments
 (0)