diff --git a/.gitignore b/.gitignore index 3f59698..4f8ee0f 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ target/sim/vsim/trace* modelsim.ini compile.tcl logs -vsim.wlf \ No newline at end of file +vsim.wlf +*.transcript \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index beb9969..a6bbff6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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