android-emulator-runner icon indicating copy to clipboard operation
android-emulator-runner copied to clipboard

Try to add Windows support

Open ychescale9 opened this issue 5 years ago • 5 comments

@filipkowicz mentioned in #46 that the windows VMs have HAXM installed. Since windows VMs are way cheaper than macOS VMs for paid users, being able to run this action on windows will be a huge win for those users.

ychescale9 avatar Jul 07 '20 10:07 ychescale9

Just wondering if you had any luck doing this?

This is a list of software installed on the Windows Images: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md https://github.com/actions/virtual-environments/blob/main/images/win/Windows2016-Readme.md

Note that HAXM is only mentioned in 2016, not 2019.

When I run a HAXM check (sc query intelhaxm) on both 2016 and 2019 I get this: The specified service does not exist as an installed service.

We might be out of luck with this. I know that Actions will allow you to use different environment types next year, maybe a GPU enabled version might be one.

It's just a shame because as you said the macOS environment is 5 times as expensive as the windows environment.

DamienDennehy avatar Sep 09 '20 11:09 DamienDennehy

Thanks for the info! I started working on getting the correct SDK installed for windows but haven't got to running the emulator yet.

I wanted to prioritize this but sounds like we'll have to wait😔.

Do you know if there's a feature request for having HAXM installed properly on windows we can track?

ychescale9 avatar Sep 09 '20 11:09 ychescale9

Doesn't look like it. There are two comments that refer to virtualization issues:

https://github.com/actions/virtual-environments/issues/183#issuecomment-675026289 https://github.com/actions/virtual-environments/issues/1481

We're definitely out of luck. I ran the Android -accel-check command on a windows vm and got this: "Android Emulator requires an Intel processor with VT-x and NX support. (VT-x is not supported)"

https://github.com/DamienDennehy/GitHubActionsTesting/runs/1091897225?check_suite_focus=true

DamienDennehy avatar Sep 09 '20 14:09 DamienDennehy

Hey there,

any updates on whether support for this action on GitHub Windows VMs will be possible in the future? Thought since some time has passed since the last investigation, I'd ask again here.

NightmindOfficial avatar Jun 01 '22 14:06 NightmindOfficial

All the related issues are closed so I assume there's no plan to enable virtualization for windows.

ychescale9 avatar Jun 01 '22 14:06 ychescale9