[ci] Enable Linux Android integration tests with workload and KVM support#34046
Draft
Copilot wants to merge 3 commits intofix-android-run-linuxfrom
Draft
[ci] Enable Linux Android integration tests with workload and KVM support#34046Copilot wants to merge 3 commits intofix-android-run-linuxfrom
Copilot wants to merge 3 commits intofix-android-run-linuxfrom
Conversation
On Linux, we should install the maui-android workload instead of the full maui workload to avoid iOS/macOS dependencies that cannot be installed on Linux. This matches the pattern used in _InstallWorkloadPacks target where iOS/macOS workloads are excluded on Linux. Co-authored-by: rmarinho <1235097+rmarinho@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update CI pipeline to run Android tests on Linux
[ci] Install maui-android workload on Linux for Android integration tests
Feb 13, 2026
Member
|
/azp run maui-pr |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Member
|
@copilot can you also check seems we need to enable KVM , we have a script for that somewhere |
Android emulators require KVM to be enabled on Linux hosts. This adds the KVM enablement step to the setup-test-env.yml template, which is used by the integration tests stage. The script creates udev rules to allow KVM access and reloads the udev rules. This matches the pattern used in device-tests-steps.yml and ui-tests-steps.yml. Co-authored-by: rmarinho <1235097+rmarinho@users.noreply.github.com>
Contributor
Author
I've enabled KVM for Android integration tests on Linux by adding the KVM enablement step to The script creates udev rules to allow KVM access and is conditionally executed only on Linux agents. Commit: ba58555 |
Copilot
AI
changed the title
[ci] Install maui-android workload on Linux for Android integration tests
[ci] Enable Linux Android integration tests with workload and KVM support
Feb 13, 2026
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.
The
mac_runandroid_testsstage was moved to Linux pools but failed due to two issues: workload installation attempted to install the fullmauiworkload (which includes iOS/macOS dependencies unavailable on Linux), and KVM was not enabled for Android emulator support.Changes:
src/DotNet/DotNet.csprojInstalltarget to conditionally installmaui-androidon Linux,mauion other platforms_InstallWorkloadPackstarget where iOS/macOS workloads are excluded on Linuxeng/pipelines/arcade/setup-test-env.ymlfor Android integration tests on Linuxdevice-tests-steps.ymlandui-tests-steps.yml💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.