-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically support KVM on Linux #370
Comments
On a heavy emulator CI it went from 27 minutes to 17 minutes. |
Oh, I just saw #366, so you're aware. Can it be incorporated into the action so not every user has to do it? |
I did a quick test but it didn't seem to take effect when running those commands from the action itself. I can make another attempt later unless you want to give it a go? |
I'll let you, you know your way around VMs way more, so you can diagnose easier. Happy to review and maybe help, if you get stuck. Tag me on a PR. |
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 toadb 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.
The text was updated successfully, but these errors were encountered: