ci: drop hard-coded julia-arch x64 so macOS tests run on native arm64#28
Merged
ChrisRackauckas merged 1 commit intoJun 20, 2026
Merged
Conversation
macOS-latest is now Apple Silicon (arm64). The Tests caller passed
julia-arch: "x64" to the centralized reusable workflow, which forwards
it to setup-julia@v3 as arch: "${{ inputs.julia-arch || runner.arch }}".
The hard-coded x64 overrode the runner.arch fallback, so on macOS-latest
setup-julia errored before any Julia ran:
x64 arch has been requested on a macOS runner that has an arm64
(Apple Silicon) architecture.
Removing julia-arch lets the reusable workflow fall back to runner.arch,
selecting x64 on ubuntu/windows and arm64 on macOS-latest. Local
Pkg.test() on Julia 1.12 passes 455/455, confirming the suite is healthy
and the failure was purely the arch misconfiguration.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The default branch (
main) CI was red on all three macOS test jobs:Tests (1, macOS-latest)Tests (lts, macOS-latest)Tests (pre, macOS-latest)Each died in the
setup-juliastep before any Julia ran:Root cause
macOS-latestis now Apple Silicon (arm64). TheTestscaller passedjulia-arch: "x64"to the centralized reusable workflow(
SciML/.github/.github/workflows/tests.yml@v1), which forwards it as:The hard-coded
x64overrode therunner.archfallback, producing aninvalid x64-on-arm64 request on macOS-latest. The ubuntu/windows jobs were
unaffected; only the macOS jobs failed.
Fix
Remove the
julia-arch: "x64"line fromTests.yml. The reusableworkflow then falls back to
runner.arch, which resolves to the runner'snative architecture (x64 on ubuntu/windows, arm64 on macOS-latest).
Local verification
julia +1.12 --project=. Pkg.test()(the1channel is 1.12):The test suite is healthy; the CI failure was purely the arch
misconfiguration, which never let the tests run.
Out of scope (separate failure)
The
Documentationcheck is also red, but for an unrelated infra reason:the docs build succeeds, then the gh-pages deploy fails with
remote: Permission to SciML/LightweightStats.jl.git denied to github-actions[bot](403).DOCUMENTER_KEYis empty and thegithub-actions[bot]token lacks push permission. That requires a reposecret / token-permission change by a maintainer and cannot be fixed by
editing repo code, so it is not addressed here.
Please ignore until reviewed by @ChrisRackauckas