Skip to content

Commit

Permalink
RISC-V DV workflow tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Kurc <[email protected]>
  • Loading branch information
mkurc-ant committed Apr 17, 2023
1 parent bf3d8e9 commit fdefb36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/riscv-dv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ jobs:
path: /opt/*.tar.gz
retention-days: 1

# TODO: Parallelize this job for multiple tests
tests:
name: Run RISC-V DV tests
runs-on: ubuntu-latest
Expand All @@ -168,6 +167,7 @@ jobs:
- riscv_arithmetic_basic_test
iss:
- spike
- whisper
env:
DEBIAN_FRONTEND: "noninteractive"

Expand Down Expand Up @@ -238,16 +238,17 @@ jobs:
export RISCV_GCC=riscv64-unknown-elf-gcc
export RISCV_OBJCOPY=riscv64-unknown-elf-objcopy
export SPIKE_PATH=/opt/spike/bin
export WHISPER_ISS=/opt/veer-iss/whisper
${RISCV_GCC} --version
pushd ${RV_ROOT}
cd tools/riscv-dv && make -j`nproc` RISCV_DV_TEST=${{ matrix.test }} RISCV_DV_ISS=${{ matrix.iss }} run
cd tools/riscv-dv && make -j`nproc` RISCV_DV_TEST=${{ matrix.test }} RISCV_DV_ISS=${{ matrix.iss }} RISCV_DV_ITER=3 run
popd
- name: Pack artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: riscv-dv-results
name: artifacts-${{ matrix.test }}
path: veer/tools/riscv-dv/work/test_*

0 comments on commit fdefb36

Please sign in to comment.