@@ -27,10 +27,14 @@ jobs:
27
27
submodules : recursive
28
28
- run : ./.github/scripts/install_dependencies.sh
29
29
30
+ - uses : hendrikmuhs/ccache-action@v1
31
+
30
32
- name : Test
31
33
env :
32
34
BUILD_TYPE : release
33
- run : ./.github/scripts/build.sh
35
+ run : |
36
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
37
+ ./.github/scripts/build.sh
34
38
35
39
36
40
Format :
@@ -89,12 +93,16 @@ jobs:
89
93
submodules : recursive
90
94
- run : ./.github/scripts/install_dependencies.sh
91
95
96
+ - uses : hendrikmuhs/ccache-action@v1
97
+
92
98
- name : Test
93
99
env :
94
100
# In order to get compilation warnings produced per source file, we must do a non-IPO build
95
101
# We also turn warnings into errors for this target by doing a strict compile
96
102
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_STRICT_COMPILE=on -DVTR_IPO_BUILD=off"
97
- run : ./.github/scripts/build.sh
103
+ run : |
104
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
105
+ ./.github/scripts/build.sh
98
106
99
107
100
108
Regression :
@@ -140,10 +148,13 @@ jobs:
140
148
submodules : recursive
141
149
- run : ./.github/scripts/install_dependencies.sh
142
150
151
+ - uses : hendrikmuhs/ccache-action@v1
152
+
143
153
- name : Test
144
154
env :
145
155
CMAKE_PARAMS : ${{ matrix.params }}
146
156
run : |
157
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
147
158
./.github/scripts/build.sh
148
159
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
149
160
@@ -178,12 +189,15 @@ jobs:
178
189
submodules : recursive
179
190
- run : ./.github/scripts/install_dependencies.sh
180
191
192
+ - uses : hendrikmuhs/ccache-action@v1
193
+
181
194
- name : Test
182
195
env :
183
196
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on'
184
197
BUILD_TYPE : debug
185
198
LSAN_OPTIONS : ' exitcode=42' # Use a non-standard exit code to ensure LSAN errors are detected
186
199
run : |
200
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
187
201
./.github/scripts/build.sh
188
202
# We skip QoR since we are only checking for errors in sanitizer runs
189
203
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2 -skip_qor
@@ -202,11 +216,14 @@ jobs:
202
216
submodules : recursive
203
217
- run : ./.github/scripts/install_dependencies.sh
204
218
219
+ - uses : hendrikmuhs/ccache-action@v1
220
+
205
221
- name : Test
206
222
env :
207
223
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on'
208
224
BUILD_TYPE : debug
209
225
run : |
226
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
210
227
./.github/scripts/build.sh
211
228
./run_reg_test.py odin_reg_basic -show_failures -j2
212
229
@@ -224,10 +241,13 @@ jobs:
224
241
submodules : recursive
225
242
- run : ./.github/scripts/install_dependencies.sh
226
243
244
+ - uses : hendrikmuhs/ccache-action@v1
245
+
227
246
- name : Test
228
247
env :
229
248
BUILD_TYPE : release
230
249
run : |
250
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
231
251
./.github/scripts/build.sh
232
252
./utils/vqm2blif/test/scripts/test_vqm2blif.sh
233
253
@@ -254,11 +274,14 @@ jobs:
254
274
submodules : recursive
255
275
- run : ./.github/scripts/install_dependencies.sh
256
276
277
+ - uses : hendrikmuhs/ccache-action@v1
278
+
257
279
- name : Test
258
280
env :
259
281
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on -DODIN_USE_YOSYS=ON'
260
282
BUILD_TYPE : debug
261
283
run : |
284
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
262
285
./.github/scripts/build.sh
263
286
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
264
287
@@ -288,12 +311,16 @@ jobs:
288
311
submodules : recursive
289
312
- run : ./.github/scripts/install_dependencies.sh
290
313
314
+ - uses : hendrikmuhs/ccache-action@v1
315
+
291
316
- name : Test
292
317
env :
293
318
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on"
294
319
MATRIX_EVAL : ${{ matrix.eval }}
295
320
BUILD_TYPE : ${{ matrix.build }}
296
- run : ./.github/scripts/build.sh
321
+ run : |
322
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
323
+ ./.github/scripts/build.sh
297
324
298
325
299
326
Coverity :
@@ -320,9 +347,13 @@ jobs:
320
347
submodules : recursive
321
348
- run : ./.github/scripts/install_dependencies.sh
322
349
350
+ - uses : hendrikmuhs/ccache-action@v1
351
+
323
352
- name : Test
324
353
env :
325
354
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on'
326
355
_COVERITY_URL : ' https://scan.coverity.com/download/linux64'
327
356
_COVERITY_MD5 : ' d0d7d7df9d6609e578f85096a755fb8f'
328
- 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