@@ -52,20 +52,13 @@ jobs:
52
52
- uses : actions/checkout@v4
53
53
with :
54
54
submodules : ' true'
55
-
56
- - name : Get number of CPU cores
57
- uses : SimenB/github-actions-cpu-cores@v2
58
- id : cpu-cores
59
-
60
- - name : Install dependencies
61
- run : ./.github/scripts/install_dependencies.sh
55
+ - run : ./.github/scripts/install_dependencies.sh
62
56
63
57
-
uses :
hendrikmuhs/[email protected]
64
58
65
59
- name : Test
66
60
env :
67
61
BUILD_TYPE : ${{ matrix.build_type }}
68
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
69
62
run : |
70
63
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
71
64
./.github/scripts/build.sh VERBOSE=${{ matrix.verbose }}
87
80
with :
88
81
python-version : 3.10.10
89
82
- uses : actions/checkout@v4
90
-
91
- - name : Install dependencies
92
- run : ./.github/scripts/install_dependencies.sh
83
+ - run : ./.github/scripts/install_dependencies.sh
93
84
94
85
- name : Test
95
86
run : ./dev/${{ matrix.script }}
@@ -106,18 +97,11 @@ jobs:
106
97
- uses : actions/checkout@v4
107
98
with :
108
99
submodules : ' true'
109
-
110
- - name : Get number of CPU cores
111
- uses : SimenB/github-actions-cpu-cores@v2
112
- id : cpu-cores
113
-
114
- - name : Install dependencies
115
- run : ./.github/scripts/install_dependencies.sh
100
+ - run : ./.github/scripts/install_dependencies.sh
116
101
117
102
- name : Test
118
103
env :
119
104
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on"
120
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
121
105
run : ./.github/scripts/unittest.sh
122
106
123
107
@@ -132,13 +116,7 @@ jobs:
132
116
- uses : actions/checkout@v4
133
117
with :
134
118
submodules : ' true'
135
-
136
- - name : Get number of CPU cores
137
- uses : SimenB/github-actions-cpu-cores@v2
138
- id : cpu-cores
139
-
140
- - name : Install dependencies
141
- run : ./.github/scripts/install_dependencies.sh
119
+ - run : ./.github/scripts/install_dependencies.sh
142
120
143
121
-
uses :
hendrikmuhs/[email protected]
144
122
@@ -147,7 +125,6 @@ jobs:
147
125
# In order to get compilation warnings produced per source file, we must do a non-IPO build
148
126
# We also turn warnings into errors for this target by doing a strict compile
149
127
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_STRICT_COMPILE=on -DVTR_IPO_BUILD=off"
150
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
151
128
run : |
152
129
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
153
130
./.github/scripts/build.sh
@@ -162,68 +139,57 @@ jobs:
162
139
{
163
140
name : ' Basic' ,
164
141
params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on' ,
165
- suite : ' vtr_reg_basic' ,
166
- extra_pkgs : " "
142
+ suite : ' vtr_reg_basic'
167
143
},
168
144
{
169
145
name : ' Basic with highest assertion level' ,
170
146
params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=4 -DWITH_BLIFEXPLORER=on' ,
171
- suite : ' vtr_reg_basic' ,
172
- extra_pkgs : " "
147
+ suite : ' vtr_reg_basic'
173
148
},
174
149
{
175
150
name : ' Basic_odin' ,
176
151
params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on' ,
177
- suite : ' vtr_reg_basic_odin' ,
178
- extra_pkgs : " "
152
+ suite : ' vtr_reg_basic_odin'
179
153
},
180
154
{
181
155
name : ' Basic with NO_GRAPHICS' ,
182
- params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=4 -DWITH_BLIFEXPLORER=on -DVPR_USE_EZGL=off' ,
183
- suite : ' vtr_reg_basic' ,
184
- extra_pkgs : " "
156
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVPR_USE_EZGL=off' ,
157
+ suite : ' vtr_reg_basic'
185
158
},
186
159
{
187
160
name : ' Basic with NO_SERVER' ,
188
- params : ' -DVTR_ASSERT_LEVEL=4 -DWITH_BLIFEXPLORER=on -DVPR_USE_EZGL=on -DVPR_USE_SERVER=off' ,
189
- suite : ' vtr_reg_basic' ,
190
- extra_pkgs : " "
161
+ params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVPR_USE_EZGL=on -DVPR_USE_SERVER=off' ,
162
+ suite : ' vtr_reg_basic'
191
163
},
192
164
{
193
165
name : ' Basic with CAPNPROTO disabled' ,
194
166
params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_CAPNPROTO=off' ,
195
- suite : ' vtr_reg_basic' ,
196
- extra_pkgs : " "
167
+ suite : ' vtr_reg_basic'
197
168
},
198
169
{
199
170
name : ' Basic with VTR_ENABLE_DEBUG_LOGGING' ,
200
171
params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_DEBUG_LOGGING=on' ,
201
- suite : ' vtr_reg_basic' ,
202
- extra_pkgs : " "
172
+ suite : ' vtr_reg_basic'
203
173
},
204
174
{
205
175
name : ' Basic_odin with VTR_ENABLE_DEBUG_LOGGING' ,
206
176
params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_DEBUG_LOGGING=on -DWITH_PARMYS=OFF -DWITH_ODIN=on' ,
207
- suite : ' vtr_reg_basic_odin' ,
208
- extra_pkgs : " "
177
+ suite : ' vtr_reg_basic_odin'
209
178
},
210
179
{
211
180
name : ' Strong' ,
212
181
params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on' ,
213
- suite : ' vtr_reg_strong' ,
214
- extra_pkgs : " libeigen3-dev"
182
+ suite : ' vtr_reg_strong'
215
183
},
216
184
{
217
185
name : ' Strong_odin' ,
218
186
params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on' ,
219
- suite : ' vtr_reg_strong_odin' ,
220
- extra_pkgs : " "
187
+ suite : ' vtr_reg_strong_odin'
221
188
},
222
189
{
223
190
name : ' Valgrind Memory' ,
224
- params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVPR_USE_EZGL=off' ,
225
- suite : ' vtr_reg_valgrind_small' ,
226
- extra_pkgs : " "
191
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_ODIN=on' ,
192
+ suite : ' vtr_reg_valgrind_small'
227
193
}
228
194
]
229
195
name : ' R: ${{ matrix.name }}'
@@ -232,41 +198,20 @@ jobs:
232
198
- uses : actions/setup-python@v5
233
199
with :
234
200
python-version : 3.10.10
235
-
236
201
- uses : actions/checkout@v4
237
202
with :
238
203
submodules : ' true'
239
-
240
- - name : Get number of CPU cores
241
- uses : SimenB/github-actions-cpu-cores@v2
242
- id : cpu-cores
243
-
244
- - name : Install dependencies
245
- run : ./.github/scripts/install_dependencies.sh
246
-
247
- - name : Install external libraries
248
- run : sudo apt install -y ${{ matrix.extra_pkgs }}
249
- if : ${{ matrix.extra_pkgs }}
204
+ - run : ./.github/scripts/install_dependencies.sh
250
205
251
206
-
uses :
hendrikmuhs/[email protected]
252
207
253
- - name : Test-build
208
+ - name : Test
254
209
env :
255
210
CMAKE_PARAMS : ${{ matrix.params }}
256
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
257
211
run : |
258
212
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
259
213
./.github/scripts/build.sh
260
-
261
- - name : Setup tmate session__
262
- uses : mxschmitt/action-tmate@v3
263
-
264
- - name : Test-run
265
- env :
266
- CMAKE_PARAMS : ${{ matrix.params }}
267
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
268
- run : |
269
- ./run_reg_test.py ${{ matrix.suite }} -show_failures -j${{ steps.cpu-cores.outputs.count}}
214
+ ./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
270
215
271
216
- name : Upload regression run files
272
217
if : ${{ !cancelled() }}
@@ -314,12 +259,7 @@ jobs:
314
259
with :
315
260
submodules : ' true'
316
261
317
- - name : Get number of CPU cores
318
- uses : SimenB/github-actions-cpu-cores@v2
319
- id : cpu-cores
320
-
321
- - name : Install dependencies
322
- run : ./.github/scripts/install_dependencies.sh
262
+ - run : ./.github/scripts/install_dependencies.sh
323
263
324
264
-
uses :
hendrikmuhs/[email protected]
325
265
@@ -333,13 +273,12 @@ jobs:
333
273
# depends on LLVM and all CI tests where VTR_ENABLE_SANITIZE is enabled fail. For a temporary
334
274
# fix, we manually reduce the entropy. This quick fix should be removed in the future
335
275
# when github deploys a more stable Ubuntu image.
336
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
337
276
run : |
338
277
sudo sysctl -w vm.mmap_rnd_bits=28
339
278
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
340
279
./.github/scripts/build.sh
341
280
# We skip QoR since we are only checking for errors in sanitizer runs
342
- ./run_reg_test.py ${{ matrix.suite }} -show_failures -j${{ steps.cpu-cores.outputs.count }} -skip_qor
281
+ ./run_reg_test.py ${{ matrix.suite }} -show_failures -j2 -skip_qor
343
282
344
283
345
284
Parmys :
@@ -353,25 +292,18 @@ jobs:
353
292
- uses : actions/checkout@v4
354
293
with :
355
294
submodules : ' true'
356
-
357
- - name : Get number of CPU cores
358
- uses : SimenB/github-actions-cpu-cores@v2
359
- id : cpu-cores
360
-
361
- - name : Install dependencies
362
- run : ./.github/scripts/install_dependencies.sh
295
+ - run : ./.github/scripts/install_dependencies.sh
363
296
364
297
-
uses :
hendrikmuhs/[email protected]
365
298
366
299
- name : Test
367
300
env :
368
301
CMAKE_PARAMS : ' -DVTR_IPO_BUILD=off'
369
302
BUILD_TYPE : debug
370
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
371
303
run : |
372
304
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
373
305
./.github/scripts/build.sh
374
- ./run_reg_test.py parmys_reg_basic -show_failures -j${{ steps.cpu-cores.outputs.count }}
306
+ ./run_reg_test.py parmys_reg_basic -show_failures -j2
375
307
376
308
377
309
ODINII :
@@ -385,26 +317,19 @@ jobs:
385
317
- uses : actions/checkout@v4
386
318
with :
387
319
submodules : ' true'
388
-
389
- - name : Get number of CPU cores
390
- uses : SimenB/github-actions-cpu-cores@v2
391
- id : cpu-cores
392
-
393
- - name : Install dependencies
394
- run : ./.github/scripts/install_dependencies.sh
320
+ - run : ./.github/scripts/install_dependencies.sh
395
321
396
322
-
uses :
hendrikmuhs/[email protected]
397
323
398
324
- name : Test
399
325
env :
400
326
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on'
401
327
BUILD_TYPE : debug
402
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
403
328
run : |
404
329
sudo sysctl -w vm.mmap_rnd_bits=28
405
330
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
406
331
./.github/scripts/build.sh
407
- ./run_reg_test.py odin_reg_basic -show_failures -j${{ steps.cpu-cores.outputs.count }}
332
+ ./run_reg_test.py odin_reg_basic -show_failures -j2
408
333
409
334
410
335
VQM2BLIF :
@@ -418,20 +343,13 @@ jobs:
418
343
- uses : actions/checkout@v4
419
344
with :
420
345
submodules : ' true'
421
-
422
- - name : Get number of CPU cores
423
- uses : SimenB/github-actions-cpu-cores@v2
424
- id : cpu-cores
425
-
426
- - name : Install dependencies
427
- run : ./.github/scripts/install_dependencies.sh
346
+ - run : ./.github/scripts/install_dependencies.sh
428
347
429
348
-
uses :
hendrikmuhs/[email protected]
430
349
431
350
- name : Test
432
351
env :
433
352
BUILD_TYPE : release
434
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
435
353
run : |
436
354
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
437
355
./.github/scripts/build.sh
@@ -460,13 +378,7 @@ jobs:
460
378
- uses : actions/checkout@v4
461
379
with :
462
380
submodules : ' true'
463
-
464
- - name : Get number of CPU cores
465
- uses : SimenB/github-actions-cpu-cores@v2
466
- id : cpu-cores
467
-
468
- - name : Install dependencies
469
- run : ./.github/scripts/install_dependencies.sh
381
+ - run : ./.github/scripts/install_dependencies.sh
470
382
471
383
-
uses :
hendrikmuhs/[email protected]
472
384
@@ -475,7 +387,6 @@ jobs:
475
387
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_ODIN=on"
476
388
MATRIX_EVAL : ${{ matrix.eval }}
477
389
BUILD_TYPE : release
478
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
479
390
run : |
480
391
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
481
392
./.github/scripts/build.sh
@@ -502,20 +413,13 @@ jobs:
502
413
- uses : actions/checkout@v4
503
414
with :
504
415
submodules : ' true'
505
-
506
- - name : Get number of CPU cores
507
- uses : SimenB/github-actions-cpu-cores@v2
508
- id : cpu-cores
509
-
510
- - name : Install dependencies
511
- run : ./.github/scripts/install_dependencies.sh
416
+ - run : ./.github/scripts/install_dependencies.sh
512
417
513
418
-
uses :
hendrikmuhs/[email protected]
514
419
515
420
- name : Test
516
421
env :
517
422
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on'
518
- NUM_PROC : ${{ steps.cpu-cores.outputs.count }}
519
423
_COVERITY_URL : ' https://scan.coverity.com/download/linux64'
520
424
_COVERITY_MD5 : ' d0d7d7df9d6609e578f85096a755fb8f'
521
425
run : |
0 commit comments