You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's the same as for any other new runner, we need access to the runner from the ruby organization to build binaries, see #494 (comment)
Until then linux-aarch64 will be detected as self-hosted, because there are no prebuilt Rubies for it available.
So @lkfortuna@Steve-Glass could you make these new beta linux-aarch64 runners available for the ruby organization?
What would be the runs-on value?
@lkfortuna@Steve-Glass Somewhat off topic, but is there a reason why the setup-python and setup-node actions are managed by Github, but this action lives outside?
^ Because https://github.com/actions/setup-ruby was not actively maintained and provided too little functionality to be practical (e.g. no way to specify Ruby x.y.z, only latest x.y and only 3-4 versions available).
hi @eregon and chat, I came around this discussion with a similar requirement for arm-based ruby installation. but I'm using self-hosted runners and not GitHub provided. For the base OS, I rely on Ubuntu 20.04-arm64 OS. Ruby binaries for arm64 for ubuntu20.04 are also publicly available. Wouldn't using those for ruby setup in arm-based Ubuntu/Linux OS allow GitHub runners (in beta) to run?
@cb-krishnapatel The builds need to be tested automatically, so we need access to these runners and the builds must happen on GitHub runners to ensure it's exactly the same image with the same tweaks, packages installed, etc.
I'm working on this on the Heroku side right now heroku/docker-heroku-ruby-builder#38. Having support for ARM from ruby/setup-ruby isn't a blocker there, but it's what prompted me to see if an issue was raised yet or not.
The only way to add linux-aarch64 support earlier is if GitHub provides free linux-aarch64 runners for the ruby organization, like it was done for macos-arm64 with macos-arm-oss (#577 (comment)).
We encountered the same problem within our CI. We resolved it by manually installing Ruby into the toolcache. However, it would be beneficial to have arm64 support in setup-ruby. Additionally, ruby/ruby-builder and other builders require arm64 release packages.
At Ubicloud, we offer managed GitHub Actions runners with arm64 support. We're happy to offer 10,000 free minutes per month on our platform for the Ruby organization. @eregon If you're interested, please let me know. As Ruby users, we're delighted to back the Ruby organization.
Yes, this is the current solution (as the error message says), and then you can use setup-ruby in self-hosted mode (automatically detected).
At Ubicloud, we offer managed GitHub Actions runners with arm64 support. We're happy to offer 10,000 free minutes per month on our platform for the Ruby organization.
Ah, thanks @eregon I didn't realise there was a difference between a runner being GA and a runner being available for consumption (for free) by public repos.
Activity
dentarg commentedon Mar 15, 2024
What's needed to support it? Seems tricky to support it when the docs for it are still private?
sandstrom commentedon Mar 15, 2024
Good question!
@dentarg If you would like to, I'm sure @lkfortuna (PM working with Github Actions) can get you into the beta, since this action is widely used.
dentarg commentedon Mar 15, 2024
I was thinking in general, if you have access to the beta, you should be able to submit a PR to this repo to show what needs to be done?
I've been invited to the beta (but haven't gotten access to the docs), I actually just emailed her earlier today ;-)
sandstrom commentedon Mar 15, 2024
@dentarg Ah, got it!
I would love to help out, but I don't know the details of this action well enough, sorry.
dentarg commentedon Mar 15, 2024
Ever heard about "learning by doing"? :-)
If you don't dig in yourself here, don't expect any movement on this until after the private beta.
eregon commentedon Mar 15, 2024
It's the same as for any other new runner, we need access to the runner from the ruby organization to build binaries, see #494 (comment)
Until then linux-aarch64 will be detected as self-hosted, because there are no prebuilt Rubies for it available.
So @lkfortuna @Steve-Glass could you make these new beta linux-aarch64 runners available for the
rubyorganization?What would be the
runs-onvalue?sandstrom commentedon Mar 15, 2024
@dentarg Yeah, I know 😄
I've learned a lot by doing things (self-thought), just that I haven't yet spent that much time with JS-based Github Actions.
I do contribute to a few open-source projects, but I have to pick, and currently my goal is to improve the
ipaddressgem.Out of curiosity, do you live in the Stockholm area, or elsewhere? 🇸🇪
Steve-Glass commentedon Mar 15, 2024
@eregon - Thanks for reaching out. Let me bring this feedback to the team and we will get back to you next week.
sandstrom commentedon Mar 15, 2024
@lkfortuna @Steve-Glass Somewhat off topic, but is there a reason why the
setup-pythonandsetup-nodeactions are managed by Github, but this action lives outside?eregon commentedon Mar 15, 2024
^ Because https://github.com/actions/setup-ruby was not actively maintained and provided too little functionality to be practical (e.g. no way to specify Ruby x.y.z, only latest x.y and only 3-4 versions available).
cb-krishnapatel commentedon Mar 16, 2024
hi @eregon and chat, I came around this discussion with a similar requirement for arm-based ruby installation. but I'm using self-hosted runners and not GitHub provided. For the base OS, I rely on Ubuntu 20.04-arm64 OS. Ruby binaries for arm64 for ubuntu20.04 are also publicly available. Wouldn't using those for ruby setup in arm-based Ubuntu/Linux OS allow GitHub runners (in beta) to run?
eregon commentedon Mar 16, 2024
@cb-krishnapatel The builds need to be tested automatically, so we need access to these runners and the builds must happen on GitHub runners to ensure it's exactly the same image with the same tweaks, packages installed, etc.
Regarding https://ubuntu.pkgs.org/20.04/ubuntu-main-arm64/ruby_2.7+1_arm64.deb.html (the system package), of course you can
apt-get install ruby, but that will only give you the ruby version that Ubuntu 20.04 ships and no other.cb-krishnapatel commentedon Mar 16, 2024
Agreed and acknowledged @eregon
hsbt commentedon Mar 18, 2024
FYI: I requested this to GitHub support for Arm runner as private beta on Ruby organization.
schneems commentedon Mar 25, 2024
I'm working on this on the Heroku side right now heroku/docker-heroku-ruby-builder#38. Having support for ARM from ruby/setup-ruby isn't a blocker there, but it's what prompted me to see if an issue was raised yet or not.
@hsbt have you heard back from the request?
18 remaining items
xrl commentedon Jun 7, 2024
NicoHinderling commentedon Jun 26, 2024
👋 apologies, but any update here now that it's available? I'm unfortunately trying to still support an older ruby version with the new runners atm
dentarg commentedon Jun 26, 2024
@NicoHinderling see #577 (comment)
enescakir commentedon Jul 4, 2024
We encountered the same problem within our CI. We resolved it by manually installing Ruby into the toolcache. However, it would be beneficial to have arm64 support in
setup-ruby. Additionally,ruby/ruby-builderand other builders require arm64 release packages.At Ubicloud, we offer managed GitHub Actions runners with arm64 support. We're happy to offer 10,000 free minutes per month on our platform for the Ruby organization. @eregon If you're interested, please let me know. As Ruby users, we're delighted to back the Ruby organization.
eregon commentedon Jul 4, 2024
Yes, this is the current solution (as the error message says), and then you can use setup-ruby in self-hosted mode (automatically detected).
This wouldn't help, no, because of these reasons.
testworksau commentedon Sep 4, 2024
arm64 Linux and Windows runners have gone GA 🎉
https://github.blog/changelog/2024-09-03-github-actions-arm64-linux-and-windows-runners-are-now-generally-available/
eregon commentedon Sep 4, 2024
#577 (comment)
So until arm64 runners are available for public repositories (https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories) there is nothing that can be done here.
testworksau commentedon Sep 4, 2024
Ah, thanks @eregon I didn't realise there was a difference between a runner being GA and a runner being available for consumption (for free) by public repos.
willnode commentedon Oct 4, 2024
Just saying.. There are other build system that supports aarch64 by cross compiling.
https://github.com/indygreg/python-build-standalone/blob/main/.github/workflows/linux.yml
testworksau commentedon Oct 7, 2024
Here's where GitHub are tracking the work to make ARM runners available for OSS projects:
github/roadmap#970
ntkme commentedon Jan 16, 2025
It's now publicly available:
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
eregon commentedon Jan 18, 2025
Done in https://github.com/ruby/setup-ruby/releases/tag/v1.213.0
Update ci.yml with ubuntu-24.04-arm