-
Notifications
You must be signed in to change notification settings - Fork 17
Add Microsoft.Maui.Essentials.AI — on-device AI for .NET MAUI #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+33,190
−2
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
70b2573
Migrate Microsoft.Maui.Essentials.AI from dotnet/maui into maui-labs
mattleibow ad8574c
Add EssentialsAI job and publish stage to devflow-official.yml
mattleibow c76adda
Fix build: Controls.Maps package, platform entry points, strip Catego…
mattleibow 3a647e5
Address PR review comments
mattleibow c7a470b
Merge branch 'main' into mattleibow/ai-migration-plan
mattleibow 341dac6
Remove direct nuget.org feed from NuGet.config
mattleibow 94a8648
Enable cross-platform Windows TFM restore and remove nuget.org
mattleibow d39547c
Retry CI - packages should be mirrored now
mattleibow 998ad5f
Retry CI - Maps package now mirrored
mattleibow a161b10
Retry CI - Microsoft.Maui.Maps now mirrored
mattleibow 42fe5aa
Select Xcode 26 for EssentialsAI CI build
mattleibow 0afb5e7
Use Xcode 26.3 for EssentialsAI CI
mattleibow 785cc44
Fix sample build: conditional Windows TFM and duplicate splash screen
mattleibow 2279b97
Suppress CA1416 in EssentialsAI library
mattleibow 663adc3
Suppress CA1416 in device tests project
mattleibow b7a0450
Fix duplicate dotnet_bot.png bundle resource in device tests
mattleibow e5fbaed
Add Apple native artifact flow for EssentialsAI CI
mattleibow 237c907
Eliminate macOS job duplication via dynamic matrix
mattleibow 8dfe708
Eliminate Windows step duplication with dynamic needs
mattleibow 03c841d
Merge branch 'main' into mattleibow/ai-migration-plan
mattleibow 7696aa6
Reset _build.yml to main
mattleibow e8a7f24
Custom EssentialsAI CI with sequential macOS→Windows flow
mattleibow 447b0a9
Eliminate duplication: add pre-build-artifact input to _build.yml
mattleibow 5b23d74
Use JSON array for pre-build-artifacts input
mattleibow a78e655
Simplify pre-build-artifact to plain string
mattleibow def9d3a
Trigger CI workflows
mattleibow faaab46
Address review findings and rename sample project
mattleibow c149a3b
Fix benchmark build: remove unused EssentialsAISample.Models using
mattleibow cc3103a
Pack product README instead of repo-root README
mattleibow f4140b9
Add NuGet consumer README, move dev docs to CONTRIBUTING
mattleibow 80ac06d
Merge branch 'main' into mattleibow/ai-migration-plan
mattleibow a31202b
Merge remote-tracking branch 'origin/main' into mattleibow/ai-migrati…
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,56 @@ | ||
| name: CI - EssentialsAI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - 'src/AI/**' | ||
| - 'tests/AI/**' | ||
| - 'samples/EssentialsAISample/**' | ||
| - 'eng/**' | ||
| - 'Directory.Build.props' | ||
| - 'Directory.Build.targets' | ||
| - 'Directory.Packages.props' | ||
| - 'global.json' | ||
| - 'NuGet.config' | ||
| pull_request: | ||
| types: [opened, synchronize, reopened, edited] | ||
| branches: [main] | ||
| paths: | ||
| - 'src/AI/**' | ||
| - 'tests/AI/**' | ||
| - 'samples/EssentialsAISample/**' | ||
| - 'eng/**' | ||
| - 'Directory.Build.props' | ||
| - 'Directory.Build.targets' | ||
| - 'Directory.Packages.props' | ||
| - 'global.json' | ||
| - 'NuGet.config' | ||
|
|
||
| jobs: | ||
| # Step 1: Build on macOS — compiles Swift xcframeworks, produces .resources.zip, | ||
| # and uploads them as native-apple-essentialsai artifact via _build.yml. | ||
| build-macos: | ||
| uses: ./.github/workflows/_build.yml | ||
| with: | ||
| project-path: src/AI/EssentialsAI.slnf | ||
| project-name: essentialsai | ||
|
mattleibow marked this conversation as resolved.
|
||
| os: '["macos-latest"]' | ||
| run-tests: true | ||
| pack: true | ||
| xcode-version: '26.3' | ||
|
mattleibow marked this conversation as resolved.
|
||
| android-project: src/AI/Microsoft.Maui.Essentials.AI/Microsoft.Maui.Essentials.AI.csproj | ||
|
|
||
| # Step 2: Build on Windows — downloads native .resources.zip from macOS build | ||
| # via pre-build-artifact so AppleBindings.targets includes them during pack. | ||
| build-windows: | ||
| needs: build-macos | ||
| uses: ./.github/workflows/_build.yml | ||
| with: | ||
| project-path: src/AI/EssentialsAI.slnf | ||
| project-name: essentialsai | ||
| os: '["windows-latest"]' | ||
| run-tests: true | ||
| pack: true | ||
| pre-build-artifact: native-apple-essentialsai | ||
| android-project: src/AI/Microsoft.Maui.Essentials.AI/Microsoft.Maui.Essentials.AI.csproj | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.