Open blumendorf opened 1 year ago
Running into this as well with the newly released macos-14
Apple Silicon images. I tried applying this fix to the CI image, but it didn't work unfortunately.
@colinrtwhite just a doubt -
Running into this as well with the newly released
macos-14
Apple Silicon images. I tried applying this fix to the CI image, but it didn't work unfortunately.
When you tried to apply that fix, did you do the whole thing with command line tools install for Xcode (though likely they were already installed...) and did you make sure to add the entitlement to the aarch64 emulator vs x86_64.
This whole issue seems like an advanced-user hangout, so I'm guessing you did, but just wanted to check - would be curious to see your workflow run log if you could link it
@mikehardy I believe so, but it's possible I missed something! Here's the script I wrote to run on CI.
@colinrtwhite that looks perfect. Disappointed it's not working but with a set -e on the top and the script looking the way it does, I think you'd know if the methodology of your test was wrong. Just the test had sad results. Alas. Thanks for sharing, much appreciated. Guess I'll try to pick apart the other semi-related thread where it appears the new public repo runners behind ubuntu-latest have nested-virt enabled if you can jump through the correct hoops to get the runner user /dev/kvm access and install the qemu packages etc...
Does anyone have any further insight into this? Not being able to run the Android emulator on macos-14 is going to become more problematic, as the macos-13 image is not getting Xcode updates (15.3 is only available for macos-14).
Looking at https://github.com/actions/runner-images/issues/9460, things don't sound promising. Is there any hope of ever getting the emulator running on macos-14?
Copying the comment from @peterlazar1993 , looks like it could be interesting for theoretical future GitHub Actions runners on M3 chips with macOS Sequoia:
You cannot run a VM(android emulator) inside a VM on M1, M2 macs.
M3 macs with OSX15 (upcoming), will allow nested virtualisation - forum.parallels.com/threads/macos-15-sequoia-nested-virtualization-for-m3-macs.364397
M1 Silicon is now supported by macOs runners on GitHub.
I tried to used android-emulator-runner on a setup using M1 and it does not seem to fire up the emulator.
The relevant error message seems to be this:
Below is the full output and the gituhub workflow we are using.
Output:
workflow: