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:
parent
fc1e3b20f6
commit
924f48bab2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue