Fix the Arm64 image build
The push to dev failed in run 43364358702: the multi-platform "Build and push" step could not install verilator on linux/arm64. Stable Alpine (3.21 to 3.23) packages Verilator for x86-64 only; only edge has an aarch64 build.
- Install
verilatorandverilator-devfrom edge/community on both architectures through an@edge-tagged repository, which keeps every other package on 3.22. Both images get Verilator 5.050 (amd64 moves from 5.036). apk delnow uses--no-cache; without an index it cannot resolve the@edgetag and refuses to commit.- Install
qemu-x86_64(firtool on Arm64) once in the base stage instead of in both later stages. - Build every platform on pull requests too, publishing only on push, so a platform-specific break fails before merge.
Verified locally: the amd64 image passes the CI smoke test offline (four notebooks and the visualizer checks); the arm64 image, built under QEMU, runs native Verilator 5.050, firtool 1.160.0 through qemu-user, and 2.6_chiselsim.ipynb offline.
Trade-off: edge packages can be rebuilt without notice, which makes the image less reproducible; CI catches a break. Running the Arm64 smoke test in CI remains open.
Summary by cubic
Fixes the multi-platform Docker build, which failed on linux/arm64 because stable Alpine (3.21–3.23) only packages Verilator for x86-64. The image now installs verilator and verilator-dev from Alpine edge via an @edge tag on both architectures, keeping all other packages on 3.22 and giving both images Verilator 5.050.
apk delnow uses--no-cacheso the@edgetag still resolves without an index.qemu-x86_64is installed once in the base stage instead of in both later stages.- CI now builds every platform on pull requests, publishing only on push, so platform-specific breaks fail before merge.
Trade-off: edge packages can be rebuilt without notice, making the image slightly less reproducible; CI catches a break.