@@ -21,13 +21,13 @@ jobs:
2121
2222 steps :
2323 - name : Checkout code
24- uses : actions/checkout@v4
24+ uses : actions/checkout@v2
2525 with :
2626 submodules : recursive
2727
2828 - name : Cache Toolchain Directory
2929 id : cache-toolchain
30- uses : actions/cache@v4
30+ uses : actions/cache@v2
3131 with :
3232 path : tools
3333 key : ${{ runner.os }}-toolchain-v0.1
3636
3737 - name : Cache Third Party Directory
3838 id : cache-thirdparty
39- uses : actions/cache@v4
39+ uses : actions/cache@v2
4040 with :
4141 path : third_party
4242 key : ${{ runner.os }}-thirdparty-v0.1
@@ -71,15 +71,15 @@ jobs:
7171
7272 steps :
7373 - name : Checkout code
74- uses : actions/checkout@v4
74+ uses : actions/checkout@v2
7575
7676 - name : Install Dependencies
7777 run : |
7878 sudo bash ./ci/install_dependencies.sh
7979
8080 - name : Cache Toolchain Directory
8181 id : cache-toolchain
82- uses : actions/cache@v4
82+ uses : actions/cache@v2
8383 with :
8484 path : tools
8585 key : ${{ runner.os }}-toolchain-v0.1
8888
8989 - name : Cache Third Party Directory
9090 id : cache-thirdparty
91- uses : actions/cache@v4
91+ uses : actions/cache@v2
9292 with :
9393 path : third_party
9494 key : ${{ runner.os }}-thirdparty-v0.1
@@ -106,31 +106,31 @@ jobs:
106106 make tests -s > /dev/null
107107
108108 - name : Upload Build Artifact
109- uses : actions/upload-artifact@v4
109+ uses : actions/upload-artifact@v3
110110 with :
111111 name : build-${{ matrix.xlen }}
112112 path : build${{ matrix.xlen }}
113113
114- test :
114+ tests :
115115 runs-on : ubuntu-20.04
116116 needs : build
117117 strategy :
118118 fail-fast : false
119119 matrix :
120- name : [regression, opencl, cache, config1, config2, debug, scope, stress, synthesis, vm ]
120+ name : [regression, opencl, cache, config1, config2, debug, scope, stress, synthesis, vm]
121121 xlen : [32, 64]
122122
123123 steps :
124124 - name : Checkout code
125- uses : actions/checkout@v4
125+ uses : actions/checkout@v2
126126
127127 - name : Install Dependencies
128128 run : |
129129 sudo bash ./ci/install_dependencies.sh
130130
131131 - name : Cache Toolchain Directory
132132 id : cache-toolchain
133- uses : actions/cache@v4
133+ uses : actions/cache@v2
134134 with :
135135 path : tools
136136 key : ${{ runner.os }}-toolchain-v0.1
@@ -139,18 +139,19 @@ jobs:
139139
140140 - name : Cache Third Party Directory
141141 id : cache-thirdparty
142- uses : actions/cache@v4
142+ uses : actions/cache@v2
143143 with :
144144 path : third_party
145145 key : ${{ runner.os }}-thirdparty-v0.1
146146 restore-keys : |
147147 ${{ runner.os }}-thirdparty-
148148
149149 - name : Download Build Artifact
150- uses : actions/download-artifact@v4
150+ uses : actions/download-artifact@v3
151151 with :
152152 name : build-${{ matrix.xlen }}
153153 path : build${{ matrix.xlen }}
154+
154155 - name : Run tests
155156 run : |
156157 cd build${{ matrix.xlen }}
@@ -167,7 +168,7 @@ jobs:
167168
168169 complete :
169170 runs-on : ubuntu-20.04
170- needs : test
171+ needs : tests
171172
172173 steps :
173174 - name : Check Completion
0 commit comments