use iPhone 16 simulator for test
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user