-
Notifications
You must be signed in to change notification settings - Fork 921
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
Add ARM + MacOS target to be able to use on self-hosted runners #805
Comments
(seems like dotnet/core#4879 is entailed, though) |
for now you can run it with for example
|
the arch did not help us:
we are using preview version of the new Mac mini:
|
Github self-hosted runners currently run under rosetta: actions/runner#805 This patch is an attempt to build arm webkit from-inside rosetta shell on arm hardware.
Github self-hosted runners currently run under rosetta: actions/runner#805 This patch is an attempt to build arm webkit from-inside rosetta shell on arm hardware.
Even though we're undergoing migration to GitHub self-hosted runners, they don't currently support running natively under Arm. The resulting build ends up to be x86_64. See actions/runner#805
@paulz do you have Rosetta 2 installed? It's working for us on Homebrew. |
At my company, we use mac mini's + github actions to trigger xcodebuild in order to run XCUITests. By starting the github action runner, we find that all subprocesses also boot in Rosetta, causing the xcodebuild to create x86 artifacts. The mac mini is then unable to run the XCUITest because it only supports arm iOS simulators. When we boot xcode without rosetta by hand, the tests run fine. We'd really appreciate it if Github added support for ARM + MacOS target. |
Made forward progress here. We are able to boot the runner using intel emulation, and then escape the emulation when our CI script calls xcodebuild using:
The big win came from realizing that Detailed writeup here: https://gregmfoster.medium.com/using-m1-mac-minis-to-power-our-github-actions-ios-ci-540c55af13ea |
Just an addendum to @gregorymfoster's post. You can find out which architecture you are running on your mac with Maybe this can act as a substitute until the team provides an arm64 compiled version for the M1? EDIT: just realised that if you call |
Note that if you launch the Actions runner though Rosetta, everything executed internally will be in x86_64 mode. Maybe that's not what you're trying to do, and there's no easy way to address it at this point. I recommend using a self-host runner on Cirrus CI for the time being. |
It will be officially released in November, so it will be a long time until we can build using the stable release, but I think we will be able to officially support Apple Silicon in .NET 6: https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-1 |
Has anyone got this working? |
Just went for it today, and it works fine and available in the UI interface to choose from. |
👋 official support is now GA! You can find additional details in the change log post here: https://github.blog/changelog/2022-08-09-github-actions-self-hosted-runners-now-support-apple-m1-hardware/ |
Any update on GitHub-hosted runners? I don't own a macbook with M1-chip myself, but sadly lots of users do. EDIT: I am also aware that according to this, it should be possible to enable M1 silicon options for GitHub-hosted runners, but how do I enable it? |
You need to add the runner under organisation settings/actions/runners. It needs approving from github though.. |
@robtaylor I'm talking about What Im talking about was mentioned here: I guess it is just part of the roadmap and not yet supported. However, would be great to have an update. |
There’s now a button to add a GitHub hosted runner!
…On Mon, 10 Oct 2022 at 19:00, André Pedersen ***@***.***> wrote:
You need to add the runner under organisation settings/actions/runners. It
needs approving from github though..
@robtaylor <https://github.com/robtaylor> I'm talking about GitHub-hosted
runners, *not* self-hosted/local runners.
What Im talking about was mentioned here:
github/roadmap#528 <github/roadmap#528>
I guess it is just part of the roadmap and not yet supported. However,
would be great to have an update.
—
Reply to this email directly, view it on GitHub
<#805 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB4O4CJ4JPYN5AGUXTY52DWCRKVDANCNFSM4TTUNXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I think you misunderstand what I want. I want this: Perhaps I was a little unclear. I don't see that this is supported as of now. By checking one of my org's |
As per the roadmap we are targeting some time later this year for GitHub hosted M1 support :) |
@nebuk89 This is good to hear! It's the main reason I'm using Cirrus CI now in addition to Github. Will Github also support creating linux arm64 binaries? This would complete the full spectrum for my needs. |
@borkdude a fair ask! We intend to 'at some point' but honestly - I need to start planning it 😁 as a result I don't have a timeframe for it right now 😞 (we will also do Win arm64 as well 😱 but it's in the same state of needing the plan creating!) |
Describe the enhancement
A new architecture+OS build target to enable adding runners on the new Apple Silicon (ARM) Macs.
Additional information
This would be useful both for GitHub-hosted and self-hosted runners. I have no idea how much work would be necessary :)
The text was updated successfully, but these errors were encountered: