Skip to content

Commit

Permalink
Merge pull request #888 from MarekVCodasip/ci-run-spike64-if-spike32-…
Browse files Browse the repository at this point in the history
…failed

github/ci Make Spike64-2 tests run regardless of Spike32 tests result
  • Loading branch information
timsifive authored Jul 20, 2023
2 parents c1cce47 + deb0d91 commit 1a089d8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/spike-openocd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,20 @@ jobs:
git checkout "$RISCV_TESTS_REV"
git submodule update --init --recursive
- name: Run Tests
- name: Run Spike32 Tests
id: spike32-tests
run: |
cd riscv-tests/debug
./gdbserver.py targets/RISC-V/spike32.py --print-failures \
--gcc /opt/riscv/toolchain/bin/riscv-none-elf-gcc \
--gdb /opt/riscv/toolchain/bin/riscv-none-elf-gdb \
--sim_cmd /opt/riscv/spike/bin/spike \
--server_cmd $GITHUB_WORKSPACE/src/openocd
- name: Run Spike64-2 Tests
if: success() || steps.spike32-tests.conclusion == 'failure'
run: |
cd riscv-tests/debug
./gdbserver.py targets/RISC-V/spike64-2.py --print-failures \
--gcc /opt/riscv/toolchain/bin/riscv-none-elf-gcc \
--gdb /opt/riscv/toolchain/bin/riscv-none-elf-gdb \
Expand Down

0 comments on commit 1a089d8

Please sign in to comment.