update
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"notificationAliases": ["xiaowuhu@microsoft.com"],
|
"notificationAliases": ["onnxruntime-org@microsoft.com"],
|
||||||
"areaPath": "ONNX Runtime\\Extensions",
|
"areaPath": "ONNX Runtime\\Extensions",
|
||||||
"codebaseName": "onnxconverter-common",
|
"codebaseName": "onnxruntime-swift-package-manager",
|
||||||
"instanceUrl": "https://aiinfra.visualstudio.com/",
|
"instanceUrl": "https://aiinfra.visualstudio.com/",
|
||||||
"projectName": "ONNX Runtime",
|
"projectName": "ONNX Runtime",
|
||||||
"ignoreBranchName": true,
|
"ignoreBranchName": false,
|
||||||
"template": "AIINFRA_TSA"
|
"template": "AIINFRA_TSA"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
unzip ${POD_ARCHIVE} -d unzipped
|
unzip ${POD_ARCHIVE} -d unzipped
|
||||||
cp -rf unzipped/objectivec/ $(Build.SourcesDirectory)/objectivec/
|
cp -rf unzipped/objectivec/ $(Build.SourcesDirectory)/objectivec/
|
||||||
# Corrected variable name to match the parameter
|
# Corrected variable name to match the parameter
|
||||||
workingDirectory: '$(Build.ArtifactStagingDirectory)/$(artifactName)'
|
workingDirectory: '$(Build.ArtifactStagingDirectory)/${{ parameters.artifactName }}'
|
||||||
displayName: Copy latest dev version ORT objectivec/ source files
|
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.
|
||||||
@@ -36,13 +36,13 @@ jobs:
|
|||||||
- script: |
|
- script: |
|
||||||
set -e -x
|
set -e -x
|
||||||
# Corrected variable name to match the parameter
|
# Corrected variable name to match the parameter
|
||||||
cd "$(Build.ArtifactStagingDirectory)/$(artifactName)"
|
cd "$(Build.ArtifactStagingDirectory)/${{ parameters.artifactName }}"
|
||||||
POD_ARCHIVE=$(find . -name "pod-archive-onnxruntime-c*.zip")
|
POD_ARCHIVE=$(find . -name "pod-archive-onnxruntime-c*.zip")
|
||||||
|
|
||||||
shasum -a 256 "$(Build.ArtifactStagingDirectory)/$(artifactName)/${POD_ARCHIVE}"
|
shasum -a 256 "$(Build.ArtifactStagingDirectory)/${{ parameters.artifactName }}/${POD_ARCHIVE}"
|
||||||
|
|
||||||
cd "$(Build.SourcesDirectory)"
|
cd "$(Build.SourcesDirectory)"
|
||||||
cp "$(Build.ArtifactStagingDirectory)/$(artifactName)/${POD_ARCHIVE}" swift/
|
cp "$(Build.ArtifactStagingDirectory)/${{ parameters.artifactName }}/${POD_ARCHIVE}" swift/
|
||||||
export ORT_POD_LOCAL_PATH="swift/${POD_ARCHIVE}"
|
export ORT_POD_LOCAL_PATH="swift/${POD_ARCHIVE}"
|
||||||
xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 14'
|
xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 14'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user