File tree Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change 1
1
name : Linmo CI (GNU Only)
2
2
3
3
on :
4
- <<<<<<< HEAD
5
4
push :
6
5
branches : [main, ci]
7
6
pull_request :
25
24
wget https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.06.13/riscv32-elf-ubuntu-22.04-gcc-nightly-2025.06.13-nightly.tar.xz
26
25
tar -xf riscv32-elf-ubuntu-22.04-gcc-nightly-2025.06.13-nightly.tar.xz
27
26
echo "$PWD/riscv/bin" >> $GITHUB_PATH
28
- =======
29
- push :
30
- branches : [main, ci]
31
- pull_request :
32
- branches : [main, ci]
33
-
34
- jobs :
35
- test :
36
- runs-on : ubuntu-latest
37
-
38
- steps :
39
- - name : Checkout
40
- uses : actions/checkout@v4
41
-
42
- - name : Install dependencies
43
- run : |
44
- sudo apt-get update
45
- sudo apt-get install -y build-essential qemu-system-riscv32 wget
46
-
47
- - name : Download RISC-V GNU Toolchain
48
- run : |
49
- wget https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.06.13/riscv32-elf-ubuntu-22.04-gcc-nightly-2025.06.13-nightly.tar.xz
50
- tar -xf riscv32-elf-ubuntu-22.04-gcc-nightly-2025.06.13-nightly.tar.xz
51
- echo "$PWD/riscv/bin" >> $GITHUB_PATH
52
- >>>>>>> 5c5f004 (Improve CI workflow with QEMU, cpubench, timeout)
53
27
54
28
- name : Verify toolchain installation
55
29
run : |
65
39
env :
66
40
CROSS_COMPILE : riscv32-unknown-elf-
67
41
68
- <<<<<<< HEAD
69
42
- name : Build and run cpubench
70
43
run : |
71
44
make clean
96
69
```
97
70
${{ steps.extract.outputs.result }}
98
71
```
99
- =======
100
- - name : Build and run cpubench
101
- run : |
102
- make clean
103
- make cpubench
104
- timeout 5s qemu-system-riscv32 -nographic -machine virt -bios none -kernel build/image.elf || true
105
- echo "cpubench completed"
106
- env :
107
- CROSS_COMPILE : riscv32-unknown-elf-
108
- >>>>>>> 5c5f004 (Improve CI workflow with QEMU, cpubench, timeout)
You can’t perform that action at this time.
0 commit comments