@@ -67,25 +67,11 @@ jobs:
6767 - name : Compile
6868 run : make compile
6969
70- # Clean artifacts folder (./tl-test-new/run) after successful run
71- - name : Unit Test for TileLink version
72- run : |
73- git clone https://github.com/OpenXiangShan/tl-test-new
74- cd ./tl-test-new
75- sed -i 's/ari.target.*/ari.target = 240/g' ./configs/user.tltest.ini
76- rm -rf ./dut/CoupledL2 && ln -s ../.. ./dut/CoupledL2
77- make coupledL2-test-l2l3l2 run THREADS_BUILD=4 CXX_COMPILER=clang++-17
78- rm -rf run/*.vcd run/*.fst run/*.log run/*.db
79-
80- - name : Tar up artifacts of Unit Test for TileLink version
81- if : always()
82- run : |
83- test -d ./tl-test-new/run || mkdir -p ./tl-test-new/run
84- tar -zcf ${{ env.RUN_ARCHIVE_TL }} ./tl-test-new/run
85-
8670 # Clean artifacts folder (./tl-test-new/run) after successful run
8771 - name : Unit test for CHI version
8872 run : |
73+ rm -rf tl-test-new
74+ git clone https://github.com/OpenXiangShan/tl-test-new
8975 cd ./tl-test-new
9076 sed -i 's/ari.target.*/ari.target = 240/g' ./configs/user.tltest.ini
9177 sed -i 's/cmo.enable .*=.*/cmo.enable = 1/g' ./configs/user.tltest.ini
@@ -105,6 +91,23 @@ jobs:
10591 run : |
10692 test -d ./tl-test-new/run || mkdir -p ./tl-test-new/run
10793 tar -zcf ${{ env.RUN_ARCHIVE_CHI }} ./tl-test-new/run
94+
95+ # Clean artifacts folder (./tl-test-new/run) after successful run
96+ - name : Unit Test for TileLink version
97+ run : |
98+ rm -rf tl-test-new
99+ git clone https://github.com/OpenXiangShan/tl-test-new
100+ cd ./tl-test-new
101+ sed -i 's/ari.target.*/ari.target = 240/g' ./configs/user.tltest.ini
102+ rm -rf ./dut/CoupledL2 && ln -s ../.. ./dut/CoupledL2
103+ make coupledL2-test-l2l3l2 run THREADS_BUILD=4 CXX_COMPILER=clang++-17
104+ rm -rf run/*.vcd run/*.fst run/*.log run/*.db
105+
106+ - name : Tar up artifacts of Unit Test for TileLink version
107+ if : always()
108+ run : |
109+ test -d ./tl-test-new/run || mkdir -p ./tl-test-new/run
110+ tar -zcf ${{ env.RUN_ARCHIVE_TL }} ./tl-test-new/run
108111
109112 - name : Upload artifacts of Unit Test
110113 if : always()
0 commit comments