We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01fa6ac commit f2d2743Copy full SHA for f2d2743
.github/workflows/test.yml
@@ -0,0 +1,27 @@
1
+name: test
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ cross_compile_tests:
11
+ runs-on: ubuntu-22.04
12
+ steps:
13
+ - name: checkout code
14
+ uses: actions/checkout@v3.2.0
15
+ - name: setup riscv toolchain
16
+ run: |
17
+ mkdir /opt/riscv
18
+ export PATH=$PATH:/opt/riscv/bin
19
+ wget https://github.com/howjmay/prebuilt-riscv-spike/releases/download/latest/riscv.tar.gz
20
+ sudo tar -xzf riscv.tar.gz -C /opt/
21
22
+ - name: run tests
23
24
25
+ export SIMULATOR_TYPE=qemu
26
+ export ENABLE_TEST_ALL=true
27
+ sh scripts/cross-test.sh
0 commit comments