use iPhone 16 simulator for test

This commit is contained in:
edgchen1
2026-02-06 14:40:32 -08:00
parent 9705bd4aca
commit fdabcd0986
2 changed files with 2 additions and 2 deletions
@@ -87,7 +87,7 @@
cp "$(Build.ArtifactStagingDirectory)/$(artifactsNameForExt)/${POD_ARCHIVE_EXT}" swift/ cp "$(Build.ArtifactStagingDirectory)/$(artifactsNameForExt)/${POD_ARCHIVE_EXT}" swift/
export ORT_EXTENSIONS_POD_LOCAL_PATH="swift/${POD_ARCHIVE_EXT}" export ORT_EXTENSIONS_POD_LOCAL_PATH="swift/${POD_ARCHIVE_EXT}"
xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 14' xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 16'
xcodebuild test -scheme onnxruntime-Package -destination 'platform=macosx' xcodebuild test -scheme onnxruntime-Package -destination 'platform=macosx'
@@ -14,7 +14,7 @@
# and OnnxRuntimeExtensions targets. # and OnnxRuntimeExtensions targets.
- script: | - script: |
set -e -x set -e -x
xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 14' xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 16'
xcodebuild test -scheme onnxruntime-Package -destination 'platform=macosx' xcodebuild test -scheme onnxruntime-Package -destination 'platform=macosx'
workingDirectory: "$(Build.SourcesDirectory)" workingDirectory: "$(Build.SourcesDirectory)"
displayName: "Test Package.swift usage" displayName: "Test Package.swift usage"