File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : RISC-V QEMU Tests
2+
3+ on :
4+ pull_request :
5+ # paths:
6+ # - 'src/rvv.c'
7+ # - 'src/diff.zig'
8+ # - 'src/test_color_delta.zig'
9+
10+ jobs :
11+ riscv :
12+ name : ubuntu-24.04-riscv
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : uraimo/run-on-arch-action@v3
17+ with :
18+ arch : riscv64
19+ distro : ubuntu24.04
20+ githubToken : ${{ github.token }}
21+ dockerRunArgs : |
22+ --volume "${PWD}:/opt/odiff"
23+ install : |
24+ apt-get update
25+ apt-get install -y nasm
26+ run : |
27+ wget https://ziglang.org/download/0.15.1/zig-riscv64-linux-0.15.1.tar.xz
28+ tar -xf zig-riscv64-linux-0.15.1.tar.xz
29+ export PATH="$PWD/zig-riscv64-linux-0.15.1:$PATH"
30+ zig build test-all -Dtarget=riscv64-linux -Dcpu=generic_rv64+rva23u64 -Doptimize=ReleaseFast
You can’t perform that action at this time.
0 commit comments