Skip to content

Commit 632c984

Browse files
committed
Run official riscv-tests in ci
1 parent 8b060b8 commit 632c984

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,18 @@ jobs:
2222
sudo apt update
2323
sudo apt install gcc-riscv64-unknown-elf
2424
25-
- name: unit tests
25+
- name: Install riscv-testsuite
26+
run: |
27+
git clone https://github.com/riscv/riscv-tests
28+
cd riscv-tests
29+
git submodule update --init --recursive
30+
autoconf
31+
./configure
32+
make
33+
make install
34+
35+
- name: Unit tests
2636
run: cargo t
37+
38+
- name: Official riscv-tests
39+
run: RISCV_TESTSUITE=$HOME/riscv-tests ./build.sh riscv-testsuite

0 commit comments

Comments
 (0)