Skip to content

Commit a02c2ea

Browse files
asinghvi17claude
andcommitted
CI: run macOS on native aarch64 instead of x64
GitHub's macOS-latest runners are Apple Silicon (arm64), so setup-julia errors out when arch: x64 is requested. Give each OS its native arch via a matrix exclude (macOS -> aarch64, ubuntu/windows -> x64), keeping all three platforms. This also exercises the aarch64 code path in src/Quadmath.jl, which the x64-only macOS job never reached. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 830ef29 commit a02c2ea

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ jobs:
2020
- ubuntu-latest
2121
- macOS-latest
2222
- windows-latest
23+
arch:
24+
- x64
25+
- aarch64
26+
exclude:
27+
# macOS-latest is Apple Silicon (arm64), so x64 is not available there.
28+
- os: macOS-latest
29+
arch: x64
30+
# ubuntu-latest and windows-latest runners are x64-only.
31+
- os: ubuntu-latest
32+
arch: aarch64
33+
- os: windows-latest
34+
arch: aarch64
2335
steps:
2436
- uses: actions/checkout@v6
2537
- uses: julia-actions/setup-julia@v3

0 commit comments

Comments
 (0)