From 58698377353bd0ea06dd68cefcbd3aee05bb1622 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Thu, 13 Aug 2026 16:30:07 +0900 Subject: ci: test RISC-V with QEMU Cross-compile for riscv64 on Ubuntu 24.04 and run the test suite through QEMU, covering the RISC-V-specific crypto code. --- .github/workflows/linux.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github') diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index ad13ed8..4fbe987 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -35,6 +35,9 @@ jobs: - os: "ubuntu-24.04" # loong64 arch: "loong64" compiler: "gcc" + - os: "ubuntu-24.04" + arch: "riscv64" + compiler: "gcc" - os: "ubuntu-24.04-arm" arch: "native" compiler: "gcc" @@ -68,6 +71,9 @@ jobs: mips64) packages+=(qemu-user-static binfmt-support g++-mips64el-linux-gnuabi64) ;; + riscv64) + packages+=(qemu-user-static binfmt-support g++-riscv64-linux-gnu) + ;; esac sudo apt-get update sudo apt-get install -y "${packages[@]}" -- cgit v1.2.3-55-g6feb