-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into jialli/genny-maui
- Loading branch information
Showing
185 changed files
with
7,563 additions
and
2,401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
parameters: | ||
- name: ort_version | ||
displayName: 'OnnxRuntime version' | ||
type: string | ||
default: '1.18.0' | ||
|
||
- name: build_config | ||
displayName: 'Build Configuration' | ||
type: string | ||
default: 'Release' | ||
values: | ||
- 'Debug' | ||
- 'RelWithDebInfo' | ||
- 'Release' | ||
- 'MinSizeRel' | ||
|
||
trigger: none | ||
stages: | ||
- template: stages/macos-ios-cocoapods-packaging-stage.yml | ||
parameters: | ||
ort_version: ${{ parameters.ort_version }} | ||
build_config: ${{ parameters.build_config }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
.pipelines/stages/jobs/macos-ios-cocoapods-packaging-job.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
parameters: | ||
- name: build_config | ||
type: string | ||
- name: ort_version | ||
type: string | ||
|
||
jobs: | ||
- job: macos_ios_cocoapods_packaging | ||
pool: | ||
vmImage: 'macOS-latest' | ||
variables: | ||
buildSettingsFile: "tools/ci_build/github/apple/default_full_apple_framework_build_settings.json" | ||
|
||
workspace: | ||
clean: all | ||
steps: | ||
- checkout: self | ||
clean: true | ||
submodules: none | ||
|
||
- template: steps/utils/set-genai-version.yml | ||
- template: steps/utils/set-cmake-build-type.yml | ||
parameters: | ||
build_config: ${{parameters.build_config}} | ||
|
||
|
||
- task: CmdLine@2 | ||
displayName: Build MacOS & iOS CocoaPods Packages | ||
inputs: | ||
script: | | ||
set -e -x | ||
python tools/ci_build/github/apple/build_and_assemble_apple_pods.py \ | ||
--build-dir "$(Build.BinariesDirectory)/apple_framework" \ | ||
--staging-dir "$(Build.BinariesDirectory)/staging" \ | ||
--pod-version "$(genai_version)" \ | ||
--test \ | ||
--variant Full \ | ||
--build-settings-file "${{ variables.buildSettingsFile }}" \ | ||
--build-apple-framework-args==--config=$(cmake_build_type) \ | ||
--ort-version ${{parameters.ort_version}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.