Skip to content

Phase 1c: Add sccache CI workflows for all 6 platforms #17

Closed

Description

@zackees

Part of #14
Depends on Phase 1b (#16)

Goal

Set up CI that builds and tests both Rust and Python on all 6 platform/arch combinations, with sccache for fast Rust compilation.

Tasks

  • Create reusable workflow templates: _build.yml, _lint.yml, _test.yml
  • _build.yml: checkout, sccache setup, rust-cache, cargo build --workspace, maturin build wheel
  • _lint.yml: cargo fmt --check, cargo clippy --workspace, existing bash lint
  • _test.yml: cargo test --workspace, pip install wheel, existing bash test
  • Create thin per-platform caller workflows for all 6 targets:
    • linux-x86-build.yml (ubuntu-24.04)
    • linux-arm-build.yml (ubuntu-24.04-arm)
    • windows-x86-build.yml (windows-2025)
    • windows-arm-build.yml (windows-11-arm)
    • macos-x86-build.yml (macos-15-intel)
    • macos-arm-build.yml (macos-15)
  • sccache config: mozilla-actions/sccache-action@v0.0.9, SCCACHE_GHA_ENABLED=true, RUSTC_WRAPPER=sccache
  • Rust cache: Swatinem/rust-cache@v2 with cache-targets: false

Acceptance criteria

  • All 6 platform CI jobs pass (build + lint + test)
  • sccache shows cache hits on second run
  • Existing Python tests pass on all platforms

Activity

  1. zackees commented on Apr 12, 2026

    @zackees
    MemberAuthor

    All tasks complete. The 6x4 platform CI matrix (build/lint/unit-test/integration-test across 6 platforms) is live and passing. All reusable workflow templates have sccache (mozilla-actions/sccache-action@v0.0.9) and rust-cache (Swatinem/rust-cache@v2) configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions