From e50aac0ee6ab614ca5d3da348d08c4cf61442c53 Mon Sep 17 00:00:00 2001 From: harsh-k7 Date: Fri, 27 Feb 2026 23:33:39 +0530 Subject: [PATCH 1/2] Add RISC-V64 CI workflow for BPI-F3 support --- .github/workflows/ci_riscv64.yml | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/ci_riscv64.yml diff --git a/.github/workflows/ci_riscv64.yml b/.github/workflows/ci_riscv64.yml new file mode 100644 index 00000000..6f8bd40c --- /dev/null +++ b/.github/workflows/ci_riscv64.yml @@ -0,0 +1,40 @@ +name: riscv64 + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + paths: + - ".github/workflows/ci_riscv64.yml" + - 'common/**' + - 'utility/**' + - 'ports/risc-v64/**' + +jobs: + build: + runs-on: ubuntu-latest + name: RISC-V64 build + + steps: + - name: Check out the repository + uses: actions/checkout@v4 + with: + submodules: true + + - name: Install RISC-V toolchain + run: | + sudo apt-get update + sudo apt-get install -y gcc-riscv64-unknown-elf + + - name: Install cmake 3.19.1 + uses: lukka/get-cmake@v3.19.1 + + - name: Install ninja-build + uses: seanmiddleditch/gha-setup-ninja@v3 + + - name: Prepare build system + run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/riscv64_gnu.cmake -GNinja . + + - name: Compile and link + run: cmake --build ./build \ No newline at end of file From 02a77fdd94f52482373ab186b47d62dd4d207f51 Mon Sep 17 00:00:00 2001 From: harsh-k7 Date: Mon, 2 Mar 2026 07:56:55 +0530 Subject: [PATCH 2/2] Remove ninja setup action as it's already available on GitHub runners --- .github/workflows/ci_riscv64.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci_riscv64.yml b/.github/workflows/ci_riscv64.yml index 6f8bd40c..42849ae2 100644 --- a/.github/workflows/ci_riscv64.yml +++ b/.github/workflows/ci_riscv64.yml @@ -30,8 +30,6 @@ jobs: - name: Install cmake 3.19.1 uses: lukka/get-cmake@v3.19.1 - - name: Install ninja-build - uses: seanmiddleditch/gha-setup-ninja@v3 - name: Prepare build system run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/riscv64_gnu.cmake -GNinja .