-
Notifications
You must be signed in to change notification settings - Fork 19
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
Why does it need macos and can't run on Linux/qemu? #8
Comments
The reason why FreeBSD and OpenBSD require macOS runners is because the GitHub action uses the Xhyve hypervisor. Xhyve is only available on macOS. I chose that one because it's faster than QEMU and has minimal dependencies. Also the macOS GitHub runner supports hardware accelerated virtualization while the Linux runners don't. I'm only using this action for open source projects so I haven't thought about the costs. When running NetBSD, QEMU is already being used and Linux is currently required. Since the action already supports QEMU most work is already done. I'm working on the last part to unify all this that will allow to run FreeBSD and OpenBSD using the QEMU hypervisor on Linux and to run NetBSD using QEMU on macOS. To summarize: QEMU on Linux is sufficient and I'm working on supporting that. |
Many thanks for the detailed technical reply. |
Make meant thanks for your great work, @jacob-carlborg . |
Thanks. You need to update to version |
@jacob-carlborg Of note: This failed for me w/ OpenBSD: https://github.com/FGasper/p5-JavaScript-QuickJS/actions/runs/2297373821 |
@FGasper OpenBSD still needs to run on macOS-10.15 runners. There's no technical reason why it can't run on Linux, but I haven't verified it yet. Please create a separate issue to make sure it's not forgotten. |
Hey.
it's a great effort and many thanks for this work. But while trying to search for a freebsd github action that is not requiring macos for virtualbox but rather Linux with qemu I seem to be out of luck.
I start to wonder why it has to be macos/virtualbox. Isn't qemu (/linux) sufficient? I'm primarily intersted in this because macos costs 10 times the money (or minutes) as standard linux does on github actions pricing.
Many thanks,
Christian.
The text was updated successfully, but these errors were encountered: