[release/11.0.1xx-preview2] [ci] Run android on MAUI-Dnceng#34200
Closed
github-actions[bot] wants to merge 3 commits intorelease/11.0.1xx-preview2from
Closed
[release/11.0.1xx-preview2] [ci] Run android on MAUI-Dnceng#34200github-actions[bot] wants to merge 3 commits intorelease/11.0.1xx-preview2from
github-actions[bot] wants to merge 3 commits intorelease/11.0.1xx-preview2from
Conversation
…port (#34046) The `mac_runandroid_tests` stage was moved to Linux pools but failed due to two issues: workload installation attempted to install the full `maui` workload (which includes iOS/macOS dependencies unavailable on Linux), and KVM was not enabled for Android emulator support. **Changes:** - Modified `src/DotNet/DotNet.csproj` `Install` target to conditionally install `maui-android` on Linux, `maui` on other platforms - Aligns with existing pattern in `_InstallWorkloadPacks` target where iOS/macOS workloads are excluded on Linux - Added KVM enablement step to `eng/pipelines/arcade/setup-test-env.yml` for Android integration tests on Linux - Creates udev rules to allow KVM access for Android emulators - Matches pattern used in `device-tests-steps.yml` and `ui-tests-steps.yml` ```xml <ItemGroup> <!-- On Linux, install maui-android instead of maui to avoid iOS/macOS dependencies --> <_LocalWorkloadIds Include="maui-android" Condition="$([MSBuild]::IsOSPlatform('linux'))" /> <_LocalWorkloadIds Include="maui" Condition="!$([MSBuild]::IsOSPlatform('linux'))" /> </ItemGroup> ``` <!-- START COPILOT CODING AGENT TIPS -->
Move the duplicated KVM enablement block into eng/pipelines/common/enable-kvm.yml and reference it from setup-test-env.yml, ui-tests-steps.yml, and device-tests-steps.yml. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Backport of #33997 to release/11.0.1xx-preview2
/cc @PureWeen @rmarinho