-
Notifications
You must be signed in to change notification settings - Fork 230
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 CI builds for Apple Silicon #441
Conversation
Crazy it ran so well emulated on Intel! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it, eventually Linux on arm might also be something we should add support for as well.
Hmm, I'm not sure if this built successfully for arm @Insprill? It is still emulated from the artifact that was built. ![]() |
That's the |
Yeah that's correct, are you on an M1/M2 to test? I believe we might need to add macOS arm to other places like |
I don't have a Mac to test this on. I thought just building to the aarch64 target would've done the trick. I'm not sure where the data in |
Unfortunately, the last commit still runs on Intel. |
Hmm, it seems they recently released M1 runners actions/runner-images#8439 but they can't be used on free plans? |
@Insprill Would I be able to push to this branch to test out the action above? |
Go for it. I also found this script someone else uses it, but I haven't gotten a chance to look into it yet if that's something you'd like to do. It's a little hard for me to work on this since I don't have any Apple Silicon to test on. |
@Insprill I think your branch is protected, as I'm not able to commit to it. |
I'm not sure why that'd be as I don't have access to branch protection rules. If you can't directly push here you can make another branch based on this one and do your testing there. |
@Insprill @jacksongoode In case you need free minutes on M1, you can try FlyCI's M1 and M2 runners. They are on average 2x faster and 2x cheaper than GitHub's AND we have a free tier for OSS projects (see below). Install Instructions
jobs:
ci:
- runs-on: macos-latest
+ runs-on: flyci-macos-large-latest-m1
steps:
- name: 👀 Checkout repo
uses: actions/checkout@v4 500 mins/month Free for Public ReposSince your repo is public, FlyCI offers 500 mins/month of free M1 runner usage with the Don't hesitate to contact us in case the free tier doesn't suit your needs or you experience any issues with the runners. Our team is here to support you! Best Regards, |
There is no need to run on a M1. You can also run on a x86 to crosscompile. See #450 |
Also renames all the artifacts to
Psst-target
withtarget
being the Rust build target, to keep the naming consistent. The README links have also been updated to point to the new artifacts.