From 0d842f4bada604c2dda2623bdc12df7da46c955e Mon Sep 17 00:00:00 2001 From: Sun Yuechi Date: Tue, 30 Jun 2026 07:09:36 -0700 Subject: [PATCH] ci: add CMake test on RISC-V Signed-off-by: Sun Yuechi --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97d15665..5b70a741 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -183,3 +183,15 @@ jobs: run: cmake --build build --config Release --parallel - name: Run tests run: ctest --test-dir build -C Release --output-on-failure + + run_cmake_tests_linux-riscv64-v: + needs: check_format + runs-on: run_tests_linux-riscv64-v + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Configure + run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release + - name: Build + run: cmake --build build --parallel + - name: Run tests + run: ctest --test-dir build --output-on-failure