update Package.swift and move pipelines
This commit is contained in:
+6
-8
@@ -9,12 +9,11 @@
|
|||||||
// For context, the end user's config will look something like:
|
// For context, the end user's config will look something like:
|
||||||
//
|
//
|
||||||
// dependencies: [
|
// 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 PackageDescription
|
||||||
import class Foundation.ProcessInfo
|
import class Foundation.ProcessInfo
|
||||||
@@ -54,12 +53,11 @@ let package = Package(
|
|||||||
//
|
//
|
||||||
// There are 2 scenarios:
|
// There are 2 scenarios:
|
||||||
//
|
//
|
||||||
// Release branch of ORT github repo:
|
// Release version of ORT SPM github repo:
|
||||||
// Target will be set to the released pod archive and its checksum.
|
// Target will be set to the latest released ORT iOS pod archive and its checksum.
|
||||||
//
|
//
|
||||||
// Any other branch/tag of ORT github repo:
|
// Current main of ORT SPM github repo:
|
||||||
// Invalid by default. We do not have a pod archive that is guaranteed to work
|
// Target will be set to the pod archive built in sync with the current main objective-c source code.
|
||||||
// as the objective-c bindings may have changed since the pod archive was released.
|
|
||||||
|
|
||||||
// CI or local testing where you have built/obtained the iOS Pod archive matching the current 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.
|
// Requires the ORT_IOS_POD_LOCAL_PATH environment variable to be set to specify the location of the pod.
|
||||||
|
|||||||
Reference in New Issue
Block a user