Repository navigation
Fix snippet CI for MAUI Blazor Hybrid samples - #687
Open
mattleibow wants to merge 6 commits into
Open
mattleibow wants to merge 6 commits into
mattleibow wants to merge 6 commits into
Conversation
Use Snippets 5000 custom build commands to compile each Hybrid sample's web project and referenced shared or hosted WebAssembly projects without restoring native MAUI targets. Document the separate native-platform validation requirement. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Add affected-sample native build jobs for Android, Windows, iOS Simulator, and Mac Catalyst alongside the existing web/shared/WASM checks. Pin matching SDK/workload and Xcode combinations, isolate SDK installs, and scope native restore without retargeting referenced shared libraries. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Avoid the hosted runner's Xcode_16.0.app symlink, which triggers the older Apple workload's ACTool SDK lookup failure. Use the actual Xcode_16.app installation documented by the runner image. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Provision iOS 18.0 for the .NET 8/Xcode 16 job. The current hosted image no longer includes that simulator runtime, which ACTool requires to compile assets even without launching a simulator. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use the hosted runner's Xcode 26.3 CLI only for downloading iOS 18.0, since Xcode 16.0 lacks the buildVersion option. Keep native .NET 8 compilation on its matching canonical Xcode 16 installation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Select the preinstalled Xcode 16.4 SDK and matching simulator runtime instead of depending on a legacy iOS 18.0 runtime download. Keep native platform compilation and remove the failed cross-version runtime provisioning path. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
snippets.5000.jsonweb entry points for all four existing MAUI Blazor Hybrid solutions, preserving shared Razor library and hosted WebAssembly compilation.InstallAndroidDependenciestarget. Apple builds don't need distribution certificates; no apps or simulators are launched..github/maui-ci.targetswithout retargeting the referenced shared libraries. No sample C#, Razor, project, or solution files change.Why
The Snippets 5000 failure on #686 occurs during full-solution restore with
NETSDK1147: the generic Windows runner doesn't have the MAUI workloads or Apple toolchain needed by the multi-platform solution. The web dependency graph and native apps now have separate, appropriate build environments rather than dropping native coverage.Android and Windows builds use
windows-2022with Java 17. The .NET 8 Apple job uses the complete preinstalled Xcode 16.4 SDK/runtime stack rather than the older Xcode symlink or a legacy runtime download.Validation
3eafb6b2d44b3a6a0daed4d1d5cc8dbb924187d4. All six MAUI jobs and the Snippets 5000 web job succeeded. Build logs confirm all 16 native project/platform outputs, including both .NET 9 native apps.net10.0.This PR is based directly on
mainand remains separate from #686. Identity and Entra feature sessions are untouched. No merge or auto-merge is enabled.