Skip to content

Commit

Permalink
CI: Extend setup to support multiple tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Scheremo committed Jul 25, 2024
1 parent cd8fee5 commit 3fde05f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ target/sim/vsim/trace*
modelsim.ini
compile.tcl
logs
vsim.wlf
vsim.wlf
*.transcript
10 changes: 7 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,15 @@ vsim-test:
extends: .base
stage: test
needs: [ vsim-build ]
parallel:
matrix:
- TESTNAME: [testCluster, testClusterOffload]
script:
- cd target/sim/vsim
- $VSIM -c -do 'source setup.chimera_soc.tcl; source start.chimera_soc.tcl; run -all'
- ../../../scripts/vsim_ret_error.sh transcript
- $VSIM -c -l $TESTNAME.transcript -do "set BINARY ../../../sw/tests/$TESTNAME.memisl.elf; source start.chimera_soc.tcl; run -all"
- ../../../scripts/vsim_ret_error.sh $TESTNAME.transcript
dependencies:
- vsim-build
artifacts:
paths: [ ".venv", "hw", "sw", "target/sim" ]
paths: [ ".venv", "hw", "sw", "target/sim", "$TESTNAME.transcript" ]
expire_in: 4 weeks

0 comments on commit 3fde05f

Please sign in to comment.