File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
tools/ci_build/github/azure-pipelines/templates Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ jobs:
123123 ${{if eq(variables['Build.SourceBranch'], 'refs/heads/main')}} :
124124 symbolExpiryTime : 60
125125 includePublicSymbolServer : true
126- symbolsArtifactName : onnxruntime_cpu_win_x64_ $(PythonVersion)
126+ symbolsArtifactName : onnxruntime_cpu_win_${{ parameters.ARCHITECTURE }}_ $(PythonVersion)
127127 symbolsVersion : $(Build.BuildId)
128128 symbolProject : ' ONNX Runtime'
129129 subscription : ' OnnxrunTimeCodeSign_20240611'
@@ -165,8 +165,12 @@ jobs:
165165 python -m pip uninstall -y onnxruntime onnxruntime-gpu -qq
166166 Get-ChildItem -Path $(Build.ArtifactStagingDirectory)/*.whl | foreach {pip --disable-pip-version-check install --upgrade $_.fullname tabulate}
167167 Remove-Item -Recurse -Force onnxruntime
168- if ("$(ExtraParam)" -contains "--use_azure") {
169- $env:path="$(Build.SourcesDirectory)\build\${{ parameters.cmake_build_type }}\_deps\vcpkg-src\installed\x64-windows\bin;$(Build.SourcesDirectory)\build\${{ parameters.cmake_build_type }}\_deps\vcpkg-src\installed\x86-windows\bin;$env:path"
168+ if ("$(ExtraParam)".Split() -contains "--use_azure") {
169+ ${{ if eq(parameters.ARCHITECTURE, 'arm64') }} {
170+ $env:path="$(Build.SourcesDirectory)\build\${{ parameters.cmake_build_type }}\_deps\vcpkg-src\installed\arm64-windows\bin;$env:path"
171+ } ${{ else }} {
172+ $env:path="$(Build.SourcesDirectory)\build\${{ parameters.cmake_build_type }}\_deps\vcpkg-src\installed\x64-windows\bin;$(Build.SourcesDirectory)\build\${{ parameters.cmake_build_type }}\_deps\vcpkg-src\installed\x86-windows\bin;$env:path"
173+ }
170174 python onnxruntime_test_python_azure.py
171175 }
172176 python onnx_backend_test_series.py
You can’t perform that action at this time.
0 commit comments