Skip to content

Enable CoreCLR Apple template tests#33044

Closed
kotlarmilos wants to merge 4 commits into
net11.0from
feature/coreclr-apple-template-tests
Closed

Enable CoreCLR Apple template tests#33044
kotlarmilos wants to merge 4 commits into
net11.0from
feature/coreclr-apple-template-tests

Conversation

@kotlarmilos
Copy link
Copy Markdown
Member

@kotlarmilos kotlarmilos commented Dec 8, 2025

Description

This PR enables CoreCLR Apple template tests, mirroring the existing Android CoreCLR tests implementation.

Contributes to dotnet/runtime#120056

Copilot AI review requested due to automatic review settings December 8, 2025 12:49
@kotlarmilos kotlarmilos self-assigned this Dec 8, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables CoreCLR runtime testing for Apple templates (iOS simulator) by adding the CoreCLR variant to the RuntimeVariant enum and implementing corresponding test cases with proper build configuration.

Key Changes

  • Added CoreCLR to the RuntimeVariant enum to support CoreCLR runtime testing alongside Mono and NativeAOT
  • Added 4 new test cases covering both maui and maui-blazor templates in Debug and Release configurations with CoreCLR runtime
  • Refactored RuntimeIdentifier build property to be set for all runtime variants, not just NativeAOT, and added UseMonoRuntime=false for CoreCLR builds

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/TestUtils/src/Microsoft.Maui.IntegrationTests/BaseBuildTest.cs Added CoreCLR enum value to RuntimeVariant enum to support CoreCLR runtime testing
src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs Added 4 CoreCLR test cases (maui and maui-blazor in Debug/Release), moved RuntimeIdentifier property outside NativeAOT-specific block, and added CoreCLR-specific build configuration with UseMonoRuntime=false

rolfbjarne
rolfbjarne previously approved these changes Dec 8, 2025
@kotlarmilos kotlarmilos marked this pull request as draft December 18, 2025 12:41
@kotlarmilos
Copy link
Copy Markdown
Member Author

Closing in favour of #33231

@kotlarmilos kotlarmilos deleted the feature/coreclr-apple-template-tests branch December 19, 2025 08:40
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants