@@ -23,12 +23,18 @@ jobs:
23
23
with :
24
24
python-version : 3.6
25
25
- uses : actions/checkout@v2
26
+ with :
27
+ submodules : recursive
26
28
- run : ./.github/scripts/install_dependencies.sh
27
29
30
+ - uses : hendrikmuhs/ccache-action@v1
31
+
28
32
- name : Test
29
33
env :
30
34
BUILD_TYPE : release
31
- run : ./.github/scripts/build.sh
35
+ run : |
36
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
37
+ ./.github/scripts/build.sh
32
38
33
39
34
40
Format :
47
53
with :
48
54
python-version : 3.6
49
55
- uses : actions/checkout@v2
56
+ with :
57
+ submodules : recursive
50
58
- run : ./.github/scripts/install_dependencies.sh
51
59
52
60
- name : Test
62
70
with :
63
71
python-version : 3.6
64
72
- uses : actions/checkout@v2
73
+ with :
74
+ submodules : recursive
65
75
- run : ./.github/scripts/install_dependencies.sh
66
76
67
77
- name : Test
@@ -79,14 +89,20 @@ jobs:
79
89
with :
80
90
python-version : 3.6
81
91
- uses : actions/checkout@v2
92
+ with :
93
+ submodules : recursive
82
94
- run : ./.github/scripts/install_dependencies.sh
83
95
96
+ - uses : hendrikmuhs/ccache-action@v1
97
+
84
98
- name : Test
85
99
env :
86
100
# In order to get compilation warnings produced per source file, we must do a non-IPO build
87
101
# We also turn warnings into errors for this target by doing a strict compile
88
102
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_STRICT_COMPILE=on -DVTR_IPO_BUILD=off"
89
- run : ./.github/scripts/build.sh
103
+ run : |
104
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
105
+ ./.github/scripts/build.sh
90
106
91
107
92
108
Regression :
@@ -128,12 +144,17 @@ jobs:
128
144
with :
129
145
python-version : 3.6
130
146
- uses : actions/checkout@v2
147
+ with :
148
+ submodules : recursive
131
149
- run : ./.github/scripts/install_dependencies.sh
132
150
151
+ - uses : hendrikmuhs/ccache-action@v1
152
+
133
153
- name : Test
134
154
env :
135
155
CMAKE_PARAMS : ${{ matrix.params }}
136
156
run : |
157
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
137
158
./.github/scripts/build.sh
138
159
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
139
160
@@ -164,14 +185,19 @@ jobs:
164
185
with :
165
186
python-version : 3.6
166
187
- uses : actions/checkout@v2
188
+ with :
189
+ submodules : recursive
167
190
- run : ./.github/scripts/install_dependencies.sh
168
191
192
+ - uses : hendrikmuhs/ccache-action@v1
193
+
169
194
- name : Test
170
195
env :
171
196
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on'
172
197
BUILD_TYPE : debug
173
198
LSAN_OPTIONS : ' exitcode=42' # Use a non-standard exit code to ensure LSAN errors are detected
174
199
run : |
200
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
175
201
./.github/scripts/build.sh
176
202
# We skip QoR since we are only checking for errors in sanitizer runs
177
203
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2 -skip_qor
@@ -186,13 +212,18 @@ jobs:
186
212
with :
187
213
python-version : 3.6
188
214
- uses : actions/checkout@v2
215
+ with :
216
+ submodules : recursive
189
217
- run : ./.github/scripts/install_dependencies.sh
190
218
219
+ - uses : hendrikmuhs/ccache-action@v1
220
+
191
221
- name : Test
192
222
env :
193
223
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on'
194
224
BUILD_TYPE : debug
195
225
run : |
226
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
196
227
./.github/scripts/build.sh
197
228
./run_reg_test.py odin_reg_basic -show_failures -j2
198
229
@@ -206,12 +237,17 @@ jobs:
206
237
with :
207
238
python-version : 3.6
208
239
- uses : actions/checkout@v2
240
+ with :
241
+ submodules : recursive
209
242
- run : ./.github/scripts/install_dependencies.sh
210
243
244
+ - uses : hendrikmuhs/ccache-action@v1
245
+
211
246
- name : Test
212
247
env :
213
248
BUILD_TYPE : release
214
249
run : |
250
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
215
251
./.github/scripts/build.sh
216
252
./utils/vqm2blif/test/scripts/test_vqm2blif.sh
217
253
@@ -234,13 +270,18 @@ jobs:
234
270
with :
235
271
python-version : 3.6
236
272
- uses : actions/checkout@v2
273
+ with :
274
+ submodules : recursive
237
275
- run : ./.github/scripts/install_dependencies.sh
238
276
277
+ - uses : hendrikmuhs/ccache-action@v1
278
+
239
279
- name : Test
240
280
env :
241
281
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on -DODIN_USE_YOSYS=ON'
242
282
BUILD_TYPE : debug
243
283
run : |
284
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
244
285
./.github/scripts/build.sh
245
286
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
246
287
@@ -266,14 +307,20 @@ jobs:
266
307
with :
267
308
python-version : 3.6
268
309
- uses : actions/checkout@v2
310
+ with :
311
+ submodules : recursive
269
312
- run : ./.github/scripts/install_dependencies.sh
270
313
314
+ - uses : hendrikmuhs/ccache-action@v1
315
+
271
316
- name : Test
272
317
env :
273
318
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on"
274
319
MATRIX_EVAL : ${{ matrix.eval }}
275
320
BUILD_TYPE : ${{ matrix.build }}
276
- run : ./.github/scripts/build.sh
321
+ run : |
322
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
323
+ ./.github/scripts/build.sh
277
324
278
325
279
326
Coverity :
@@ -296,11 +343,17 @@ jobs:
296
343
with :
297
344
python-version : 3.6
298
345
- uses : actions/checkout@v2
346
+ with :
347
+ submodules : recursive
299
348
- run : ./.github/scripts/install_dependencies.sh
300
349
350
+ - uses : hendrikmuhs/ccache-action@v1
351
+
301
352
- name : Test
302
353
env :
303
354
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on'
304
355
_COVERITY_URL : ' https://scan.coverity.com/download/linux64'
305
356
_COVERITY_MD5 : ' d0d7d7df9d6609e578f85096a755fb8f'
306
- run : ./.github/scripts/build.sh
357
+ run : |
358
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
359
+ ./.github/scripts/build.sh
0 commit comments