tests.yml: install i386 runtime libs before setup-julia for 32-bit legs#114
Merged
ChrisRackauckas merged 2 commits intoJul 12, 2026
Merged
Conversation
A 32-bit (x86/i686) Julia leg — e.g. a test_groups.toml group with `arch = "x86"` — cannot exec on the 64-bit Linux runners: the i686 binary needs the i386 dynamic loader and C/C++ runtime, which are absent by default. setup-julia invokes julia during its own step, so without those libs the run dies at "Setup Julia" with `spawn .../x86/bin/julia ENOENT`. Add a step, gated on a 32-bit `julia-arch` on Linux, that runs before setup-julia and installs `libc6:i386 libstdc++6:i386 libgcc-s1:i386 libatomic1:i386` (dpkg --add-architecture i386 first). Verified in a clean ubuntu:24.04 container: the i686 Julia 1.12.6 binary fails with "cannot execute: required file not found" before, and runs (WORD_SIZE=32, i686) after. Non-32-bit legs are unaffected (the step's `if` is false). Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EcQkauMQ4KSytnTpJpXUZu
ChrisRackauckas-Claude
force-pushed
the
tests-yml-32bit-libs
branch
from
July 12, 2026 11:04
ed660d1 to
8a61d7e
Compare
A 32-bit (x86/i686) Julia leg — e.g. a test_groups.toml group with `arch = "x86"` — cannot exec on the 64-bit Linux runners: the i686 binary needs the i386 dynamic loader and C/C++ runtime, which are absent by default. setup-julia invokes julia during its own step, so without those libs the run dies at "Setup Julia" with `spawn .../x86/bin/julia ENOENT`. Add a step, gated on a 32-bit `julia-arch` on Linux, that runs before setup-julia and installs `libc6:i386 libstdc++6:i386 libgcc-s1:i386 libatomic1:i386` (dpkg --add-architecture i386 first). Verified in a clean ubuntu:24.04 container: the i686 Julia 1.12.6 binary fails with "cannot execute: required file not found" before, and runs (WORD_SIZE=32, i686) after. Non-32-bit legs are unaffected (the step's `if` is false). Adds a runtests.jl assertion that the step exists, is gated correctly, and precedes setup-julia. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EcQkauMQ4KSytnTpJpXUZu
ChrisRackauckas
marked this pull request as ready for review
July 12, 2026 11:24
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.
Second half of enabling 32-bit test lanes (first half — the
archaxis +groupalias — shipped in #113 / v1.24.0).Problem
A 32-bit leg (a
test_groups.tomlgroup witharch = "x86", forwarded asjulia-arch: x86) fails at the Setup Julia step on the 64-bit Linux runners:The i686 Julia binary downloads fine, but it can't
execwithout the i386 dynamic loader / C++ runtime, whichubuntu-latestlacks.setup-juliainvokes julia during its own step, so an apt step later in the job is too late.Fix
Add a step before
setup-julia, gated on a 32-bitjulia-archon Linux, that installs the i386 runtime:Non-32-bit legs are untouched (the
ifis false — no extra time).Verification
In a clean
ubuntu:24.04container (matchingubuntu-latest):julia-1.12.6/bin/julia: cannot execute: required file not found(the ENOENT).apt install libc6:i386 …:WORD_SIZE=32 ARCH=i686 VERSION=1.12.6— runs.Added a
runtests.jltestset asserting the step is present, gated on 32-bit + Linux, and ordered beforesetup-julia. Full suite passes; Runic-clean.Companion changes
GROUP=All/ barePkg.testdon't demand atest/<name>/folder for the 32-bit lane (separate PR).Core 32-bitlane once this + the SciMLTesting change are released.Please ignore until reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code