From 6dab58a676556c78f876ab4f28f150bd7f05b19c Mon Sep 17 00:00:00 2001 From: Parshintsev Anatoly Date: Fri, 30 Aug 2024 23:46:55 +0300 Subject: [PATCH] enable additional platforms in CI --- .github/workflows/spike-openocd-tests.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/spike-openocd-tests.yml b/.github/workflows/spike-openocd-tests.yml index 71bf29a4bf..0db849fb67 100644 --- a/.github/workflows/spike-openocd-tests.yml +++ b/.github/workflows/spike-openocd-tests.yml @@ -127,6 +127,26 @@ jobs: --sim_cmd /opt/riscv/spike/bin/spike \ --server_cmd $GITHUB_WORKSPACE/src/openocd + - name: Run Spike64-2-hwthread Tests + if: success() || steps.spike32-tests.conclusion == 'failure' + run: | + cd riscv-tests/debug + ./gdbserver.py targets/RISC-V/spike64-2-hwthread.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 Spike32-2-hwthread Tests + if: success() || steps.spike32-tests.conclusion == 'failure' + run: | + cd riscv-tests/debug + ./gdbserver.py targets/RISC-V/spike32-2-hwthread.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: Archive test logs # Proceed even if there was a failed test if: ${{ success() || failure() }}