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 6d51d85..85485be 100644 --- a/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml +++ b/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml @@ -179,9 +179,10 @@ jobs: ls -R "$(Build.SourcesDirectory)" cp "$(Build.ArtifactStagingDirectory)/ios_packaging_artifacts_full/${POD_ARCHIVE}" "$(Build.SourcesDirectory)/swift/" export ORT_IOS_POD_LOCAL_PATH="$(Build.SourcesDirectory)/swift/${POD_ARCHIVE}" + + cd "$(Build.SourcesDirectory)" xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14' rm swift/pod-archive-onnxruntime-c-*.zip - displayName: "Test Package.swift usage" # - publish: "$(Build.ArtifactStagingDirectory)"