Files
onnxruntime-swift-package-m…/.pipelines/mac-ios-spm-release-validation-pipeline.yml
T
2024-08-19 09:48:56 -07:00

24 lines
805 B
YAML

jobs:
- job: j
displayName: "Test with released ORT native pod"
pool:
vmImage: "macOS-13"
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 14'
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'