From 21422d0f9bb8fda3dfa5c117f82229a7a26478dd Mon Sep 17 00:00:00 2001 From: rachguo Date: Fri, 14 Jul 2023 13:38:18 -0700 Subject: [PATCH] try latest option --- .../github/mac-ios-swift-packaging-pipeline.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml b/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml index ec430f7..c0c051b 100644 --- a/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml +++ b/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml @@ -38,7 +38,7 @@ stages: buildType: 'specific' project: 'Lotus' definition: 995 - buildVersionToDownload: 'latestFromBranch' + buildVersionToDownload: 'latest' branchName: 'rel-1.15.0' targetPath: '$(Build.ArtifactStagingDirectory)' @@ -94,6 +94,14 @@ stages: parameters: 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: | set -e -x xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14'