Skip to content

ci: add riscv64gc-unknown-linux-gnu to release binaries#196

Merged
lann merged 1 commit intobytecodealliance:mainfrom
gounthar:riscv64-release
Mar 12, 2026
Merged

ci: add riscv64gc-unknown-linux-gnu to release binaries#196
lann merged 1 commit intobytecodealliance:mainfrom
gounthar:riscv64-release

Conversation

@gounthar
Copy link
Contributor

Summary

  • Add riscv64gc-unknown-linux-gnu to both publish_dev_release and publish_tagged_release build matrices, using cross for cross-compilation (same approach as the existing aarch64-unknown-linux-gnu target)
  • Add corresponding Cross.toml entry with OpenSSL cross-compilation configuration for riscv64

Motivation

Fixes #195

RISC-V adoption is growing and wkg builds successfully for riscv64gc-unknown-linux-gnu. Adding this target to the release workflow means users on RISC-V Linux can download pre-built binaries instead of building from source.

Evidence

Successfully built and published wkg for riscv64 on a fork release: https://github.com/gounthar/wasm-pkg-tools/releases/tag/v0.15.0

Changes

  • .github/workflows/publish-binaries.yml: Added riscv64gc-unknown-linux-gnu matrix entry (with cross: true) to both dev and tagged release jobs
  • Cross.toml: Added [target.riscv64gc-unknown-linux-gnu] section with OpenSSL dependencies and the edge cross-rs image

Test plan

  • CI matrix expands to include the new riscv64 target
  • cross build --release --target riscv64gc-unknown-linux-gnu succeeds
  • Release artifacts include wkg-riscv64gc-unknown-linux-gnu

Add riscv64gc-unknown-linux-gnu to both publish_dev_release and
publish_tagged_release build matrices, using cross for cross-compilation.
Add corresponding Cross.toml entry with OpenSSL configuration.
@lann lann merged commit 6877a49 into bytecodealliance:main Mar 12, 2026
@gounthar
Copy link
Contributor Author

Thanks @lann for the quick review and merge! Looking forward to riscv64 binaries shipping with the next release.

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 riscv64gc-unknown-linux-gnu to release binaries

2 participants