Skip to content
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

take advantage of macos-14 being aarch64 #82

Open
schmonz opened this issue Feb 2, 2024 · 4 comments
Open

take advantage of macos-14 being aarch64 #82

schmonz opened this issue Feb 2, 2024 · 4 comments

Comments

@schmonz
Copy link

schmonz commented Feb 2, 2024

GitHub just released a macos-14 runner that is aarch64. I tried it as the host for FreeBSD and OpenBSD arm64 (specifying hypervisor: qemu for both), guessing that it wouldn't work without an update to the Action, and indeed it didn't. Guessing this is reproducible and neither surprising nor interesting, but happy to provide more details if any of those aren't the case.

Would be awesome to be able to run arm64 VMs virtualized, rather than emulated.

@jacob-carlborg
Copy link
Contributor

Yes, this is on my radar. I think the QEMU binary is only compiled for x86-64.

@schmonz
Copy link
Author

schmonz commented Feb 2, 2024

If an aarch64-native macOS qemu doesn't arrive on its own, I guess there's always Homebrew, and if for some reason no qemu cask is available, there's always actions/cache to save off and restore the binaries instead of building every time. Happy to try to help here if needed.

@jacob-carlborg
Copy link
Contributor

I'm using a custom built QEMU [1], I just haven't built it for ARM64 yet.

[1] https://github.com/cross-platform-actions/resources

@jacob-carlborg
Copy link
Contributor

Unfortunately the M1 hardware, which is what the GitHub runners are using, doesn't support hardware accelerated nested virtualization. The Internet says the M2 hardware supports it, but it's unclear if the underly Hypervisor framework supports it for M2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants