Add step to archive test logs as an artifact

Change-Id: I219820c33d3b3ebf73d44083ec66e3b8200d4f97
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
This commit is contained in:
Jan Matyas 2023-02-21 17:58:14 +01:00
parent fc1e3b20f6
commit 924f48bab2
1 changed files with 8 additions and 0 deletions

View File

@ -94,3 +94,11 @@ jobs:
--gdb /opt/riscv/bin/riscv-none-elf-gdb \
--sim_cmd /opt/riscv/bin/spike \
--server_cmd $GITHUB_WORKSPACE/src/openocd
- name: Archive test logs
# Run even if there was a failed test
if: ${{ success() || failure() }}
uses: actions/upload-artifact@v3
with:
name: test-logs
path: riscv-test/debug/logs