ncspot
ncspot copied to clipboard
Build for macos-arm64 (M1 Macs)
Anything preventing this?
There's no macOS arm64 build environment for GitHub actions yet, unless it's self-hosted: https://github.com/actions/virtual-environments/issues/2187
Ah I thought they had recently rolled it out! Darn, well I guess emulation might be possible? No worries if it's too much effort.
Unfortunately not. Maybe it can be cross-compiled, but I haven't tested it yet, as the benefit is rather small. Happy to take a PR though :)
Unfortunately not. Maybe it can be cross-compiled, but I haven't tested it yet, as the benefit is rather small. Happy to take a PR though :)
I can assist with providing an M1 binary. I will try to compile it tomorrow and see if it goes well. If it does, expect a file.
Thanks, that's kind of you. I have access to an M1 machine myself, but the problem to solve here is to cross-compile from x86_64 to M!/arm64 so that it can be done in CI.
FYI, M1 runners are now supported: https://github.com/actions/runner-images/issues/8439
FYI, M1 runners are now supported: actions/runner-images#8439
You can also use FlyCI's M1 and M2 runners. Our runners are on average 2x faster and 2x cheaper than GitHub's AND we have a free tier for OSS projects (see below).
Install Instructrions
Easily replace your M1 runners:
jobs:
ci:
- runs-on: macos-latest
+ runs-on: flyci-macos-large-latest-m1
steps:
- name: 👀 Checkout repo
uses: actions/checkout@v4
Or try the M2 runners:
jobs:
ci:
- runs-on: macos-latest
+ runs-on: flyci-macos-large-latest-m2
steps:
- name: 👀 Checkout repo
uses: actions/checkout@v4
Pricing
Processor | vCPU | RAM (GB) | Storage | Label | Price on FlyCI | Price on GitHub |
---|---|---|---|---|---|---|
M1 | 4 | 7 | 28 GB | flyci-macos-large-latest-m1 | $0.06 | - |
M1 | 8 | 14 | 28 GB | flyci-macos-xlarge-latest-m1 | $0.12 | $0.16 |
M2 | 4 | 7 | 28 GB | flyci-macos-large-latest-m2 | $0.08 | - |
M2 | 8 | 14 | 28 GB | flyci-macos-xlarge-latest-m2 | $0.16 | - |
500 mins/month Free for Public Repos
If your repo is public, then FlyCI offers 500 mins/month of free M1 runner usage with the flyci-macos-large-latest-m1
runner.
Best Regards, Kiril Gantchev CEO and co-founder of FlyCI
I suppose if someone wants to add the CI build, we can use this runner?