indentation
This commit is contained in:
@@ -75,39 +75,39 @@ stages:
|
|||||||
parameters :
|
parameters :
|
||||||
condition : 'succeeded'
|
condition : 'succeeded'
|
||||||
|
|
||||||
- stage: SPM iOS release packaging testing
|
- stage: SPM iOS release packaging testing
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
jobs:
|
jobs:
|
||||||
- job: SPMIosPackaging
|
- job: SPMIosPackaging
|
||||||
displayName: "SPM iOS Packaging"
|
displayName: "SPM iOS Packaging"
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: "macOS-13"
|
vmImage: "macOS-13"
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
xcodeVersion: "14.3"
|
xcodeVersion: "14.3"
|
||||||
|
|
||||||
timeoutInMinutes: 300
|
timeoutInMinutes: 300
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- template: templates/use-xcode-version.yml
|
- template: templates/use-xcode-version.yml
|
||||||
parameters:
|
parameters:
|
||||||
xcodeVersion: ${{ variables.xcodeVersion }}
|
xcodeVersion: ${{ variables.xcodeVersion }}
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e -x
|
set -e -x
|
||||||
VERSION_FILE="$(Build.SourcesDirectory)/version.txt"
|
VERSION_FILE="$(Build.SourcesDirectory)/version.txt"
|
||||||
SPM_POD_VERSION="$(cat "${VERSION_FILE}")"
|
SPM_POD_VERSION="$(cat "${VERSION_FILE}")"
|
||||||
shasum -a 256 "https://onnxruntimepackages.z14.web.core.windows.net/pod-archive-onnxruntime-c-${SPM_POD_VERSION}.zip"
|
shasum -a 256 "https://onnxruntimepackages.z14.web.core.windows.net/pod-archive-onnxruntime-c-${SPM_POD_VERSION}.zip"
|
||||||
workingDirectory: "$(Build.SourcesDirectory)"
|
workingDirectory: "$(Build.SourcesDirectory)"
|
||||||
displayName: "Print ORT iOS Release Pod checksum"
|
displayName: "Print ORT iOS Release Pod checksum"
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e -x
|
set -e -x
|
||||||
xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14'
|
xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14'
|
||||||
workingDirectory: "$(Build.SourcesDirectory)"
|
workingDirectory: "$(Build.SourcesDirectory)"
|
||||||
displayName: "Test Package.swift usage"
|
displayName: "Test Package.swift usage"
|
||||||
|
|
||||||
- template: templates/component-governance-component-detection-steps.yml
|
- template: templates/component-governance-component-detection-steps.yml
|
||||||
parameters :
|
parameters :
|
||||||
condition : 'succeeded'
|
condition : 'succeeded'
|
||||||
Reference in New Issue
Block a user