Skip to content

Commit 6dab58a

Browse files
committed
enable additional platforms in CI
1 parent 8ea44aa commit 6dab58a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/spike-openocd-tests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,26 @@ jobs:
127127
--sim_cmd /opt/riscv/spike/bin/spike \
128128
--server_cmd $GITHUB_WORKSPACE/src/openocd
129129
130+
- name: Run Spike64-2-hwthread Tests
131+
if: success() || steps.spike32-tests.conclusion == 'failure'
132+
run: |
133+
cd riscv-tests/debug
134+
./gdbserver.py targets/RISC-V/spike64-2-hwthread.py --print-failures \
135+
--gcc /opt/riscv/toolchain/bin/riscv-none-elf-gcc \
136+
--gdb /opt/riscv/toolchain/bin/riscv-none-elf-gdb \
137+
--sim_cmd /opt/riscv/spike/bin/spike \
138+
--server_cmd $GITHUB_WORKSPACE/src/openocd
139+
140+
- name: Run Spike32-2-hwthread Tests
141+
if: success() || steps.spike32-tests.conclusion == 'failure'
142+
run: |
143+
cd riscv-tests/debug
144+
./gdbserver.py targets/RISC-V/spike32-2-hwthread.py --print-failures \
145+
--gcc /opt/riscv/toolchain/bin/riscv-none-elf-gcc \
146+
--gdb /opt/riscv/toolchain/bin/riscv-none-elf-gdb \
147+
--sim_cmd /opt/riscv/spike/bin/spike \
148+
--server_cmd $GITHUB_WORKSPACE/src/openocd
149+
130150
- name: Archive test logs
131151
# Proceed even if there was a failed test
132152
if: ${{ success() || failure() }}

0 commit comments

Comments
 (0)