Skip to content

ci: install R directly; pin Julia pkgimage CPU target - #43

Merged
Beforerr merged 1 commit into
mainfrom
push-ztmnpknqntzm
Sep 25, 2026
Merged

Beforerr merged 1 commit into
mainfrom
push-ztmnpknqntzm

Conversation

@Beforerr

@Beforerr Beforerr commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

R: setup-r has no option to skip its R CMD check extras (apt sysreqs on Linux ~21s, Fortran + macOS utils ~16s), so install R directly.

setup-r this PR
Linux 34–39s 7s — distro r-base-core (R 4.3.3), no apt-get update unless install fails
macOS 22–31s 7–14s — CRAN release pkg via r-hub rversions (R 4.6.1)

Tradeoff: Linux tests R 4.3.3 instead of current release. Posit's release .deb was tried (30s — it depends on -dev packages).

Julia: x64 runners vary in CPU, so native pkgimages restored from cache were rejected on a different CPU and Revise recompiled (18–33s) on one random Windows/Ubuntu job per run. JULIA_CPU_TARGET=x86-64-v3 on x64 jobs (all runners have AVX2); macOS stays native. Two runs after the change: no Revise recompile on any OS (was 1 of 3 jobs per run in the previous 3 runs).

@codecov

codecov Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Beforerr
Beforerr force-pushed the push-ztmnpknqntzm branch 5 times, most recently from 08526b3 to e7023b9 Compare September 25, 2026 20:18
@Beforerr Beforerr changed the title ci: install R directly instead of setup-r on Linux/macOS ci: install R directly; pin Julia pkgimage CPU target Sep 25, 2026
…ed Go

setup-r also installs R CMD check extras (apt sysreqs on Linux, Fortran
and macOS utils on macOS) that the tests don't need. Linux uses distro
r-base-core (4.3.3); Posit's release .deb pulls -dev deps and was ~4x
slower.

x64 runners vary in CPU; native pkgimages restored from cache were
rejected on a different CPU, recompiling Revise (~25s) on a random job
each run. Pin JULIA_CPU_TARGET=x86-64-v3 there.

go-version '>=1.25' matches the runner's preinstalled Go instead of
downloading 'stable' when the image lags.

Grant actions: write so julia-actions/cache can delete superseded caches.

Claude-Session: https://claude.ai/code/session_01WaXpaZH42vRSyuuvDQ9hFk
@Beforerr
Beforerr merged commit 82cc552 into main Sep 25, 2026
3 checks passed
@Beforerr
Beforerr deleted the push-ztmnpknqntzm branch September 25, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant