Skip to content

Reuse build artifacts across CI jobs - #104

Merged
nathan-probert merged 2 commits into
mainfrom
ci/reuse-build-artifacts
Aug 29, 2026
Merged

Reuse build artifacts across CI jobs#104
nathan-probert merged 2 commits into
mainfrom
ci/reuse-build-artifacts

Conversation

@nathan-probert

@nathan-probert nathan-probert commented Aug 29, 2026

Copy link
Copy Markdown
Owner

#98

Consolidates all C/Rust compilation into the \setup\ job. \lint, \ est, \deploy, and \dev-integration\ now reuse the uploaded artifacts instead of recompiling.

  • \setup\ compiles C (\make compile_c) and Rust (\cargo build --release --target x86_64-unknown-linux-gnu) once, installs the Rust module into the venv, and uploads both artifacts.
  • \lint\ no longer downloads (unused) build artifacts.
  • \ est\ downloads the artifacts and installs the prebuilt Rust module instead of recompiling with maturin.
  • \deploy\ downloads artifacts, sets \DEPLOY_SKIP_BUILD=1, and \deploy.sh\ skips C/Rust compilation (with a missing-artifact guard; the Docker path remains for local/dev use).
  • \dev-integration\ unchanged (never compiled).
    Cuts job from ~5min -> 2:30

@nathan-probert
nathan-probert merged commit 775fc57 into main Aug 29, 2026
5 checks passed
@nathan-probert
nathan-probert deleted the ci/reuse-build-artifacts branch August 29, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant