This commit is contained in:
Changming Sun
2025-07-15 16:48:24 -07:00
parent 6d96245bc4
commit 271184daab
+6 -5
View File
@@ -17,11 +17,12 @@ jobs:
inputs: inputs:
artifactFeeds: 'Lotus' artifactFeeds: 'Lotus'
- script: | - script: |
POD_ARCHIVE=$(find . -name "pod-archive-onnxruntime-objc*.zip") set -e -x
unzip ${POD_ARCHIVE} -d unzipped POD_ARCHIVE=$(find . -name "pod-archive-onnxruntime-objc*.zip")
cp -rf unzipped/objectivec/ $(Build.SourcesDirectory)/objectivec/ unzip ${POD_ARCHIVE} -d unzipped
workingDirectory: '$(Build.ArtifactStagingDirectory)/$(artifactsName)' cp -rf unzipped/objectivec/ $(Build.SourcesDirectory)/objectivec/
displayName: Copy latest dev version ORT objectivec/ source files workingDirectory: '$(Build.ArtifactStagingDirectory)/$(artifactsName)'
displayName: Copy latest dev version ORT objectivec/ source files
# copy the pod archive to a path relative to Package.swift and set the env var required by Package.swift to use that. # copy the pod archive to a path relative to Package.swift and set the env var required by Package.swift to use that.
# xcodebuild will implicitly use Package.swift and build/run the .testTarget (tests in swift/onnxTests). # xcodebuild will implicitly use Package.swift and build/run the .testTarget (tests in swift/onnxTests).