Skip to content

ci: add riscv64 to release build matrix#3311

Open
gounthar wants to merge 1 commit intoBurntSushi:masterfrom
gounthar:feat/release-riscv64
Open

ci: add riscv64 to release build matrix#3311
gounthar wants to merge 1 commit intoBurntSushi:masterfrom
gounthar:feat/release-riscv64

Conversation

@gounthar
Copy link
Copy Markdown

@gounthar gounthar commented Mar 20, 2026

Adds riscv64gc-unknown-linux-gnu to the release build matrix, so future ripgrep releases include a native riscv64 binary.

Uses the RISE Project's native riscv64 GitHub Actions runners (ubuntu-24.04-riscv) instead of cross-compilation, following the same pattern as the windows-11-arm native builds. This avoids cross-rs riscv64 issues entirely.

Changes:

  1. New matrix entry stable-riscv64 with os: ubuntu-24.04-riscv
  2. Widened "Install packages" condition to startsWith(matrix.os, 'ubuntu') so RISE runners also get build deps
  3. Added native strip step for riscv64 (like the macOS native strip)

RISE runners: ubuntu-24.04-riscv is a native riscv64 runner provided by the RISE Project, free for open source. To enable: install the RISE runners GitHub App. Already used by llama.cpp, and others. Without the app installed, the job stays queued with no available runner.

Build validated on native riscv64 hardware (BananaPi F3, SpacemiT K1, rv64gc) and on RISE runner: https://github.com/gounthar/ripgrep/actions/runs/23355353337

Closes #3310

Add riscv64gc-unknown-linux-gnu to the release workflow using native
RISE riscv64 runners (ubuntu-24.04-riscv), following the same pattern
as the windows-11-arm native builds.

Closes BurntSushi#3310

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
@gounthar
Copy link
Copy Markdown
Author

Note: since this repo is on a personal account (not an org), the correct RISE runners app to install is the one for personal accounts: https://github.com/apps/rise-risc-v-runners-personal (the link in the PR description points to the org version).

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.

Add riscv64 release binaries

1 participant