ci: add riscv64 to release build matrix#3311
Open
gounthar wants to merge 1 commit intoBurntSushi:masterfrom
Open
ci: add riscv64 to release build matrix#3311gounthar wants to merge 1 commit intoBurntSushi:masterfrom
gounthar wants to merge 1 commit intoBurntSushi:masterfrom
Conversation
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>
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). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
riscv64gc-unknown-linux-gnuto 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 thewindows-11-armnative builds. This avoids cross-rs riscv64 issues entirely.Changes:
stable-riscv64withos: ubuntu-24.04-riscvstartsWith(matrix.os, 'ubuntu')so RISE runners also get build depsRISE runners:
ubuntu-24.04-riscvis 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