Has anyone managed to include an Apple silicon instance in their GitHub CI test jobs?
I tried adding the following to a CI.yml:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.6' # LTS
- '1.8' # latest stable
os:
- ubuntu-latest
arch:
- x64
include:
+ - os: macOS-latest
+ version: 1.8.5
+ arch: arm64
- os: macOS-latest
version: 1.8.5
arch: x64
- os: windows-latest
version: 1.8.5
arch: x64
but I am getting the following error at the “Run julia-actions/setup-julia@v1” stage:
Run julia-actions/setup-julia@v1
with:
version: 1.8.5
arch: arm64
include-all-prereleases: false
show-versioninfo: false
/usr/bin/tar xf /Users/runner/work/_temp/021514b2-c655-49e3-8e86-683d09bc27d0 --strip-components=1 -C julia-aarch64-1.8.5-2Xa2VM
/Users/runner/hostedtoolcache/julia/1.8.5/aarch64/bin/julia --version
node:internal/errors:465
ErrorCaptureStackTrace(err);
^
Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:700:9)
at ToolRunner.<anonymous> (/Users/runner/work/_actions/julia-actions/setup-julia/v1/dist/index.js:831:34)
at Generator.next (<anonymous>)
at /Users/runner/work/_actions/julia-actions/setup-julia/v1/dist/index.js:445:71
at new Promise (<anonymous>)
at module.exports.9.__awaiter (/Users/runner/work/_actions/julia-actions/setup-julia/v1/dist/index.js:441:12)
at /Users/runner/work/_actions/julia-actions/setup-julia/v1/dist/index.js:813:53
at new Promise (<anonymous>)
at ToolRunner.<anonymous> (/Users/runner/work/_actions/julia-actions/setup-julia/v1/dist/index.js:813:20) {
errno: -86,
code: 'Unknown system error -86',
syscall: 'spawn'
}
I tried doing a quick search, but I could only find Mosè’s post for Drone CI (here).