-
Notifications
You must be signed in to change notification settings - Fork 23
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
Feature request: other architectures #101
Comments
Hi, I'm open to adding them. However, I don't have access to any self-hosted runners or aarch64 macOS hardware, which makes adding and testing archs that aren't available through GitHub's hosted runners impossible on my own. I'm happy to accept PRs or collaborate on adding them if you have access to the required runners/hardware, though. |
Great, thank you! Let me try to get a first version going. |
Mosè pointed out on Slack that there isn't a GHA runner for M1 yet: actions/runner#805 (comment) |
These lines would need changing/additions to add support for it: Lines 19 to 22 in f29cb96
Lines 102 to 104 in f29cb96
I might have missed something and the README would need an update too, so no guarantee for completeness. |
#102 should in theory also enable support for M1 runners, though that should be verified once those are actually available. The only thing left for that would be the addition of a new error branch when trying to install nightlies on M1 macOS, since those don't exist. |
I successfully tested a self-hosted runner on a Macbook M1 with the new runners name: CI
on:
push:
branches: ["*"]
tags: ["*"]
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - macOS - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: [self-hosted]
strategy:
fail-fast: false
matrix:
version:
- 1.7.2
arch:
- aarch64
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Version Info
shell: julia --color=yes {0}
run: |
using InteractiveUtils
versioninfo()
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1 |
It doesn't work properly on macOS yet due to permission errors when copying the files from the attached dmg file. I'll debug this another time. For now be warned that this may not work reliably. |
I think this problem is orthogonal to the original issue of being able to install aarch64 binaries, though. |
Good point, I opened #105 |
Many thanks for this!!! I tried with Mosé's script but I get the error in the screenshot. The Server side, all I see is
Any ideas? |
There is no build of Julia v1.7.3 for that architecture. DON'T USE JULIA v1.7 ON THE M1, IT'S BROKEN. I hope the message is clear |
I know ;-). I'm testing it. Hence this request. |
It would be useful to select other Julia architectures (e.g., macOS aarch64) to run on self-hosted runners. Would you be open to adding such feature to this action?
The text was updated successfully, but these errors were encountered: