Skip to content

Conversation

@kotlarmilos
Copy link
Member

Description

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

Copilot AI review requested due to automatic review settings December 8, 2025 12:49
@kotlarmilos kotlarmilos self-assigned this Dec 8, 2025
Copy link
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants