Update to latest 1.16.0 ORT release (#7)
* update to latest 1.16.0 ort release * minor update * update to ext-c 0.9.0 release pod * update * update comments --------- Co-authored-by: rachguo <rachguo@rachguos-Mini.attlocal.net> Co-authored-by: rachguo <rachguo@rachguos-Mac-mini.local>
This commit is contained in:
@@ -14,37 +14,12 @@
|
||||
- template: templates/use-xcode-version.yml
|
||||
parameters:
|
||||
xcodeVersion: ${{ variables.xcodeVersion }}
|
||||
|
||||
# Note: Currently it requires a dev version extensions c pod for testing
|
||||
- task: DownloadPipelineArtifact@2
|
||||
inputs:
|
||||
buildType: 'specific'
|
||||
project: 'Lotus'
|
||||
definition: 1206 #'definitionid' is obtained from `System.DefinitionId` of extensions CI: extensions.ios_packaging
|
||||
buildVersionToDownload: 'latest'
|
||||
branchName: 'main'
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)'
|
||||
|
||||
- script: |
|
||||
set -e -x
|
||||
ls
|
||||
workingDirectory: "$(Build.ArtifactStagingDirectory)/ios_packaging_artifacts"
|
||||
displayName: "List staged artifacts for ORT Ext C Pod"
|
||||
|
||||
# Note: Running xcodebuild test on `onnxruntime-Package` scheme will perform swift tests for both OnnxRuntimeBindings
|
||||
# and OnnxRuntimeExtensions targets.
|
||||
- script: |
|
||||
set -e -x
|
||||
|
||||
cd "$(Build.ArtifactStagingDirectory)/ios_packaging_artifacts"
|
||||
POD_ARCHIVE=$(find . -name "pod-archive-onnxruntime-extensions-c-*.zip")
|
||||
|
||||
cd "$(Build.SourcesDirectory)"
|
||||
cp "$(Build.ArtifactStagingDirectory)/ios_packaging_artifacts/${POD_ARCHIVE}" swift/
|
||||
export ORT_EXTENSIONS_IOS_POD_LOCAL_PATH="swift/${POD_ARCHIVE}"
|
||||
|
||||
xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 14'
|
||||
rm swift/pod-archive-onnxruntime-extensions-c-*.zip
|
||||
workingDirectory: "$(Build.SourcesDirectory)"
|
||||
displayName: "Test Package.swift usage"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user