From ff358ee37a59c9180ab76e2cbef1724baabe2b7b Mon Sep 17 00:00:00 2001 From: rachguo Date: Wed, 19 Jul 2023 13:48:48 -0700 Subject: [PATCH] update Package.swift and move pipelines --- .../mac-ios-swift-packaging-pipeline.yml | 0 ...ponent-governance-component-detection-steps.yml | 0 .../templates/use-xcode-version.yml | 0 Package.swift | 14 ++++++-------- 4 files changed, 6 insertions(+), 8 deletions(-) rename {tools/ci_build/github => .pipelines}/mac-ios-swift-packaging-pipeline.yml (100%) rename {tools/ci_build/github => .pipelines}/templates/component-governance-component-detection-steps.yml (100%) rename {tools/ci_build/github => .pipelines}/templates/use-xcode-version.yml (100%) diff --git a/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml b/.pipelines/mac-ios-swift-packaging-pipeline.yml similarity index 100% rename from tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml rename to .pipelines/mac-ios-swift-packaging-pipeline.yml diff --git a/tools/ci_build/github/templates/component-governance-component-detection-steps.yml b/.pipelines/templates/component-governance-component-detection-steps.yml similarity index 100% rename from tools/ci_build/github/templates/component-governance-component-detection-steps.yml rename to .pipelines/templates/component-governance-component-detection-steps.yml diff --git a/tools/ci_build/github/templates/use-xcode-version.yml b/.pipelines/templates/use-xcode-version.yml similarity index 100% rename from tools/ci_build/github/templates/use-xcode-version.yml rename to .pipelines/templates/use-xcode-version.yml diff --git a/Package.swift b/Package.swift index 54609b1..167051f 100644 --- a/Package.swift +++ b/Package.swift @@ -9,12 +9,11 @@ // For context, the end user's config will look something like: // // dependencies: [ -// .package(url: "https://github.com/microsoft/onnxruntime", branch: "rel-1.15.0"), +// #TODO: update to use release 'version' and the new repo url here when available +// .package(url: "https://github.com/microsoft/onnxruntime", branch: "rel-1.15.0"), // ... // ], // -// NOTE: The direct consumption creates a somewhat complicated setup to 'release' a new version of the ORT SPM package. -// TBD: how to manage the release process import PackageDescription import class Foundation.ProcessInfo @@ -54,12 +53,11 @@ let package = Package( // // There are 2 scenarios: // -// Release branch of ORT github repo: -// Target will be set to the released pod archive and its checksum. +// Release version of ORT SPM github repo: +// Target will be set to the latest released ORT iOS pod archive and its checksum. // -// Any other branch/tag of ORT github repo: -// Invalid by default. We do not have a pod archive that is guaranteed to work -// as the objective-c bindings may have changed since the pod archive was released. +// Current main of ORT SPM github repo: +// Target will be set to the pod archive built in sync with the current main objective-c source code. // CI or local testing where you have built/obtained the iOS Pod archive matching the current source code. // Requires the ORT_IOS_POD_LOCAL_PATH environment variable to be set to specify the location of the pod.