Skip to content

Automatically support KVM on Linux #370

@TWiStErRob

Description

@TWiStErRob

Following this announcement:
https://github.blog/2024-01-17-github-hosted-runners-double-the-power-for-open-source/

It is now possible to enable KVM on ubuntu-latest:
https://twitter.com/colinwhi/status/1749236103956291857

From some empirical non-scientific testing*:
mac boot: 1 min 23 seconds
linux boot (without hardware virtualization): 2 min 23 seconds
linux kvm boot: 15 seconds

* boot = from emulator -avd command to adb shell getprop sys.boot_completed returning 1.

One of my UI test suite (small) went from 12 minutes to 6 minutes via this change. Note that most of this must be down to the Gradle build. I'm yet to try this on a bigger project which is more emulator-heavy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions