Repository navigation
ci: robust apt steps for opam and core-32bit (skip system ocaml, retry, mirror fallback) - #53
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mirror opam only Recommends ocaml, which setup-toolchain.sh does not need (it builds OCaml 5.3.0), so install with --no-install-recommends plus the recommends the build uses. Add apt retries and a 60s timeout, and fall back to archive.ubuntu.com on attempts 2 and 3. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
The refinement job's opam step timed out on 4 of 4 recent runs (averin#51 run 40324224354 attempts 1 and 2, averin#50 run 40352552780), each time downloading
ocaml 4.14.1-1ubuntu1 [81.4 MB]from azure.archive.ubuntu.com.Evidence (noble ubuntu-latest runner, diagnostic run 40366111847, since removed)
apt-cache depends opam:ocaml is only a Recommends.
apt-get install -sofopam libgmp-dev pkg-config zstd:--no-install-recommends: only bubblewrap build-essential libsuitesparseconfig7 libamd3 libcolamd3 libglpk40 opam-installer opamsetup-toolchain.shbuilds its own OCaml 5.3.0 (opam switch create 5.3.0), so the system ocaml is unused.Change
--no-install-recommends, plus the recommends the build still uses named explicitly (git, rsync, m4, ca-certificates).-o Acquire::Retries=5 -o Acquire::http::Timeout=60; on attempts 2 and 3 the step rewrites/etc/apt/sources.list.d/ubuntu.sourcestohttp://archive.ubuntu.com/ubuntu(that runner only).Formal claim checks (
check_claims.py,check-claims.py) were run; nothing needed relocking.🤖 Generated with Claude Code