@@ -21,13 +21,13 @@ jobs:
21
21
22
22
steps :
23
23
- name : Checkout code
24
- uses : actions/checkout@v4
24
+ uses : actions/checkout@v2
25
25
with :
26
26
submodules : recursive
27
27
28
28
- name : Cache Toolchain Directory
29
29
id : cache-toolchain
30
- uses : actions/cache@v4
30
+ uses : actions/cache@v2
31
31
with :
32
32
path : tools
33
33
key : ${{ runner.os }}-toolchain-v0.1
36
36
37
37
- name : Cache Third Party Directory
38
38
id : cache-thirdparty
39
- uses : actions/cache@v4
39
+ uses : actions/cache@v2
40
40
with :
41
41
path : third_party
42
42
key : ${{ runner.os }}-thirdparty-v0.1
@@ -71,15 +71,15 @@ jobs:
71
71
72
72
steps :
73
73
- name : Checkout code
74
- uses : actions/checkout@v4
74
+ uses : actions/checkout@v2
75
75
76
76
- name : Install Dependencies
77
77
run : |
78
78
sudo bash ./ci/install_dependencies.sh
79
79
80
80
- name : Cache Toolchain Directory
81
81
id : cache-toolchain
82
- uses : actions/cache@v4
82
+ uses : actions/cache@v2
83
83
with :
84
84
path : tools
85
85
key : ${{ runner.os }}-toolchain-v0.1
88
88
89
89
- name : Cache Third Party Directory
90
90
id : cache-thirdparty
91
- uses : actions/cache@v4
91
+ uses : actions/cache@v2
92
92
with :
93
93
path : third_party
94
94
key : ${{ runner.os }}-thirdparty-v0.1
@@ -106,31 +106,31 @@ jobs:
106
106
make tests -s > /dev/null
107
107
108
108
- name : Upload Build Artifact
109
- uses : actions/upload-artifact@v4
109
+ uses : actions/upload-artifact@v3
110
110
with :
111
111
name : build-${{ matrix.xlen }}
112
112
path : build${{ matrix.xlen }}
113
113
114
- test :
114
+ tests :
115
115
runs-on : ubuntu-20.04
116
116
needs : build
117
117
strategy :
118
118
fail-fast : false
119
119
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]
121
121
xlen : [32, 64]
122
122
123
123
steps :
124
124
- name : Checkout code
125
- uses : actions/checkout@v4
125
+ uses : actions/checkout@v2
126
126
127
127
- name : Install Dependencies
128
128
run : |
129
129
sudo bash ./ci/install_dependencies.sh
130
130
131
131
- name : Cache Toolchain Directory
132
132
id : cache-toolchain
133
- uses : actions/cache@v4
133
+ uses : actions/cache@v2
134
134
with :
135
135
path : tools
136
136
key : ${{ runner.os }}-toolchain-v0.1
@@ -139,18 +139,19 @@ jobs:
139
139
140
140
- name : Cache Third Party Directory
141
141
id : cache-thirdparty
142
- uses : actions/cache@v4
142
+ uses : actions/cache@v2
143
143
with :
144
144
path : third_party
145
145
key : ${{ runner.os }}-thirdparty-v0.1
146
146
restore-keys : |
147
147
${{ runner.os }}-thirdparty-
148
148
149
149
- name : Download Build Artifact
150
- uses : actions/download-artifact@v4
150
+ uses : actions/download-artifact@v3
151
151
with :
152
152
name : build-${{ matrix.xlen }}
153
153
path : build${{ matrix.xlen }}
154
+
154
155
- name : Run tests
155
156
run : |
156
157
cd build${{ matrix.xlen }}
@@ -167,7 +168,7 @@ jobs:
167
168
168
169
complete :
169
170
runs-on : ubuntu-20.04
170
- needs : test
171
+ needs : tests
171
172
172
173
steps :
173
174
- name : Check Completion
0 commit comments