Files
onnxruntime-swift-package-m…/.pipelines/mac-ios-spm-release-validation-pipeline.yml
T
2026-02-06 14:40:32 -08:00

24 lines
805 B
YAML

jobs:
- job: j
displayName: "Test with released ORT native pod"
pool:
vmImage: "macOS-14"
timeoutInMinutes: 60
steps:
- template: templates/use-xcode-version.yml
# Note: Running xcodebuild test on `onnxruntime-Package` scheme will perform swift tests for both OnnxRuntimeBindings
# and OnnxRuntimeExtensions targets.
- script: |
set -e -x
xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 16'
xcodebuild test -scheme onnxruntime-Package -destination 'platform=macosx'
workingDirectory: "$(Build.SourcesDirectory)"
displayName: "Test Package.swift usage"
- template: templates/component-governance-component-detection-steps.yml
parameters:
condition: 'succeeded'