diff --git a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml index 44f7c1829af9b..8b09613082997 100644 --- a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml @@ -109,6 +109,7 @@ stages: - template: use-xcode-version.yml parameters: xcodeVersion: 14.2 + - script: | /bin/bash $(Build.SourcesDirectory)/tools/ci_build/github/apple/build_host_protoc.sh \ $(Build.SourcesDirectory) \ @@ -116,6 +117,15 @@ stages: $(Build.BinariesDirectory)/protobuf_install displayName: Build Host Protoc + - template: download-deps.yml + + - task: PythonScript@0 + displayName: 'Update deps.txt' + inputs: + scriptPath: $(Build.SourcesDirectory)/tools/ci_build/replace_urls_in_deps.py + arguments: --new_dir $(Build.BinariesDirectory)/deps + workingDirectory: $(Build.BinariesDirectory) + - script: | set -e -x python3 tools/ci_build/github/apple/build_apple_framework.py \ diff --git a/tools/ci_build/github/azure-pipelines/templates/py-packaging-stage.yml b/tools/ci_build/github/azure-pipelines/templates/py-packaging-stage.yml index 1219952836ff5..4f8d667199a35 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-packaging-stage.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-packaging-stage.yml @@ -57,10 +57,10 @@ parameters: - MinSizeRel stages: -- stage: Python_Packaging_Windows_CPU - dependsOn: [] - jobs: - - ${{ if eq(parameters.enable_windows_cpu, true) }}: +- ${{ if eq(parameters.enable_windows_cpu, true) }}: + - stage: Python_Packaging_Windows_CPU + dependsOn: [] + jobs: - job: Windows_py_Wheels pool: 'onnxruntime-Win-CPU-2022' strategy: @@ -393,6 +393,15 @@ stages: parameters: xcodeVersion: 14.2 + - template: download-deps.yml + + - task: PythonScript@0 + displayName: 'Update deps.txt' + inputs: + scriptPath: $(Build.SourcesDirectory)/tools/ci_build/replace_urls_in_deps.py + arguments: --new_dir $(Build.BinariesDirectory)/deps + workingDirectory: $(Build.BinariesDirectory) + - script: | set -e -x export _PYTHON_HOST_PLATFORM=macosx-${{variables.MACOSX_DEPLOYMENT_TARGET}}-universal2