try latest option

This commit is contained in:
rachguo
2023-07-14 13:38:18 -07:00
parent 5cb8d22771
commit 21422d0f9b
@@ -38,7 +38,7 @@ stages:
buildType: 'specific' buildType: 'specific'
project: 'Lotus' project: 'Lotus'
definition: 995 definition: 995
buildVersionToDownload: 'latestFromBranch' buildVersionToDownload: 'latest'
branchName: 'rel-1.15.0' branchName: 'rel-1.15.0'
targetPath: '$(Build.ArtifactStagingDirectory)' targetPath: '$(Build.ArtifactStagingDirectory)'
@@ -94,6 +94,14 @@ stages:
parameters: parameters:
xcodeVersion: ${{ variables.xcodeVersion }} xcodeVersion: ${{ variables.xcodeVersion }}
# - script: |
# set -e -x
# VERSION_FILE="$(Build.SourcesDirectory)/version.txt"
# SPM_POD_VERSION="$(cat "${VERSION_FILE}")"
# shasum -a 256 "https://onnxruntimepackages.z14.web.core.windows.net/pod-archive-onnxruntime-c-${SPM_POD_VERSION}.zip"
# workingDirectory: "$(Build.SourcesDirectory)"
# displayName: "Print ORT iOS Release Pod checksum"
- script: | - script: |
set -e -x set -e -x
xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14' xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14'