Skip to content

Commit

Permalink
ci riscv builders
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored Jan 8, 2025
1 parent ebd61e7 commit 55feb6e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,24 @@ jobs:
run: |
docker run -u root --rm -v $(pwd):/${{ github.workspace }} -w ${{ github.workspace }} --platform linux/${{ matrix.arch }} debian:unstable-slim \
/bin/bash -c "apt update && apt install -y gcc libc6-dev && gcc main.c -o ruapu && ./ruapu"
riscv-builders:
name: ${{ matrix.soc }}
runs-on:
- riscv-builders
- ${{ matrix.soc }}
strategy:
matrix:
soc:
- soc-spacemit-k1
- soc-starfive-jh7100
steps:
- uses: actions/checkout@v4
- name: build-test
run: |
gcc main.c -o ruapu
./ruapu
- name: build-test-clang
run: |
clang main.c -o ruapu-clang
./ruapu-clang

0 comments on commit 55feb6e

Please sign in to comment.