release: add binaries for riscv64gc-unknown-linux-gnu target

Note that we skip lz4/brotli/zstd tests on RISC-V.

The CI runs RISC-V tests using cross/QEMU emulation. The decompression
tools (lz4, brotli, zstd) are x86_64 binaries on the host that cannot
execute in the RISC-V QEMU environment.

Skip these three tests at compile-time on RISC-V to avoid test failures.
The -z/--search-zip functionality itself works correctly on real RISC-V
hardware where native decompression tools are available.

PR #3165
This commit is contained in:
mariano-m13
2025-10-04 07:31:11 +02:00
committed by Andrew Gallant
parent 096f79ab98
commit 7c2161d687
4 changed files with 18 additions and 0 deletions

View File

@@ -95,6 +95,10 @@ jobs:
os: ubuntu-latest
rust: stable
target: s390x-unknown-linux-gnu
- build: stable-riscv64
os: ubuntu-latest
rust: stable
target: riscv64gc-unknown-linux-gnu
- build: macos
os: macos-latest
rust: nightly

View File

@@ -110,6 +110,12 @@ jobs:
target: s390x-unknown-linux-gnu
strip: s390x-linux-gnu-strip
qemu: qemu-s390x
- build: stable-riscv64
os: ubuntu-latest
rust: stable
target: riscv64gc-unknown-linux-gnu
strip: riscv64-linux-gnu-strip
qemu: qemu-riscv64
- build: macos
os: macos-latest
rust: nightly