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

Support for MacOs runners? #164

Open
tarakby opened this issue Feb 21, 2024 · 1 comment
Open

Support for MacOs runners? #164

tarakby opened this issue Feb 21, 2024 · 1 comment

Comments

@tarakby
Copy link

tarakby commented Feb 21, 2024

When running the action using macos-latest, this error is returned:

Error: Container action is only supported on Linux

I am wondering if this is a Github constraint where it allows action containers to run only on Linux, or if it is a choice taken by the current repo. If it is the latter, would it be possible to extend the support for macos runners?

This is useful when the Go project uses CGO and it is not straightforward to cross compile from Linux to Darwin. A native build directly on Darwin would be much easier in this case.

@wangyoucao577
Copy link
Owner

Unfortunately, it can not support macos runner since it's implemented by docker. You may need to process macos specially for your app.

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