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

Install homebrew linux runners by default #41

Open
erawhctim opened this issue Jan 15, 2025 · 3 comments
Open

Install homebrew linux runners by default #41

erawhctim opened this issue Jan 15, 2025 · 3 comments
Assignees

Comments

@erawhctim
Copy link

Is this possible?
Ideally brew would be available on the path variable as well.

relevant GH issue
On GH-owned linux runners, we work around this limitation with the following script:

echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >>"$GITHUB_PATH"

@edigaryev
Copy link
Collaborator

We already have Homebrew in macOS images, and for the Linux, unfortunately, it's not available on arm64:

# Skip installing Homebrew as it's not supported on arm64 Linux yet[1]
#
# [1]: https://docs.brew.sh/Homebrew-on-Linux#arm-unsupported

But I think we can install it on amd64, though.

@fkorotkov
Copy link
Contributor

It seems it can run on Arm but needs ruby which we already have. Formulas seems can not support Arm but brew itself seems should work. 🤔

@erawhctim
Copy link
Author

got it, thanks! Installing on AMD linux would be helpful right now.

M-series macOS machines are ARM-based, right? brew seems to work on those machines natively; did homebrew add specific support for macOS ARM machines that can't be applied to linux ARM?
(I'm unfamiliar with the specifics around most of this, so bear with me)

@erawhctim erawhctim changed the title Install homebrew on macOS & linux runners by default Install homebrew linux runners by default Jan 16, 2025
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

3 participants