Skip to content

pagefind-bin: add build-pagefind-bin.yml for riscv64 wheels - #1636

Open
luhenry wants to merge 1 commit into
mainfrom
pagefind-bin
Open

pagefind-bin: add build-pagefind-bin.yml for riscv64 wheels#1636
luhenry wants to merge 1 commit into
mainfrom
pagefind-bin

Conversation

@luhenry

@luhenry luhenry commented Sep 8, 2026

Copy link
Copy Markdown
Member

Compiles the pagefind static-site-search CLI and repackages it as a pagefind_bin wheel using upstream's own binary_only_wheel.py. Upstream publishes no riscv64 wheel.

Mirrors upstream's release.yml: builds the WASM/JS/UI vendor assets on a standard runner, then compiles the CLI and packages it.

Differs from upstream

  • Not maturin bindings = "bin": the pagefind API package's get_executable() needs upstream's real pagefind_bin/pagefind layout, which maturin's .data/scripts/ layout doesn't produce.
  • Rust toolchain installed inside manylinux_2_39_riscv64 via rustup rather than upstream's pinned CI runner image.
  • No musl target: rustup ships no riscv64 musl toolchain, so this builds glibc-only, unlike upstream's musl release binaries.

Testing

  • No wheel-level test suite ships. Drives a real indexing run against a fixture HTML page and checks the emitted pagefind.js/pagefind-entry.json.

License: OK - MIT, nothing third-party vendored.

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