Skip to content

ci: check path-cli on wasm32-unknown-emscripten in pull requests #201

Description

@ecalifornica

Only deploy-site compiles the wasm target (scripts/build-wasm.sh). The gating it checks is easy to break: crates/path-cli/Cargo.toml carries a separate emscripten dependency table (no opencode, no cursor), and the source carries module and function cfg gates that must agree with it.

Work

  • Pull-request job: rustup target add wasm32-unknown-emscripten, then cargo check --target wasm32-unknown-emscripten -p path-cli.
  • cargo check does not link and the emscripten dependency set is pure Rust, so the job should not need the emsdk. If a build script demands emcc, fall back to scripts/build-wasm.sh with the cached emsdk.
  • Cache cargo keyed on Cargo.lock, matching deploy-site.

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