From 9150411089b6707d7b2d6b9a4565e0eeb64f1e84 Mon Sep 17 00:00:00 2001 From: rachguo Date: Thu, 20 Jul 2023 14:42:36 -0700 Subject: [PATCH] fix --- .pipelines/mac-ios-spm-dev-validation-pipeline.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.pipelines/mac-ios-spm-dev-validation-pipeline.yml b/.pipelines/mac-ios-spm-dev-validation-pipeline.yml index 0fcb828..2a140e2 100644 --- a/.pipelines/mac-ios-spm-dev-validation-pipeline.yml +++ b/.pipelines/mac-ios-spm-dev-validation-pipeline.yml @@ -25,7 +25,12 @@ git checkout workingDirectory: "$(Build.SourcesDirectory)" displayName: "Sparse checkout objectivec/ swift/ folders from latest ORT main repository" - + + - script: | + ls -R "$(Build.SourcesDirectory)/tmp/onnxruntime" + workingDirectory: "$(Build.SourcesDirectory)/tmp" + displayName: "List sparse checkout repo contents" + # Download artifacts from a specific pipeline # For now, it consumes rel-1.15.0 version ORT iOS Pod which matches the current source code # TODO: Update branch to latest main of ORT github repo when syncing changes to ORT SPM repo here. @@ -54,7 +59,7 @@ shasum -a 256 "$(Build.ArtifactStagingDirectory)/$(artifactsName)/${POD_ARCHIVE}" - cd "$(Build.SourcesDirectory)/tmp" + cd "$(Build.SourcesDirectory)/tmp/onnxruntime" cp "$(Build.ArtifactStagingDirectory)/$(artifactsName)/${POD_ARCHIVE}" swift/ export ORT_IOS_POD_LOCAL_PATH="swift/${POD_ARCHIVE}" xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14'