51
51
52
52
steps :
53
53
54
+ # TODO: This runnner is running on a self-hosted CPU. In order to upgrade
55
+ # to v4, need to upgrade the machine to support node20.
54
56
- uses : actions/checkout@v3
55
57
with :
56
58
submodules : ' true'
71
73
VTR_CMAKE_PARAMS : ${{ matrix.cmake }}
72
74
NUM_CORES : ${{ matrix.cores }}
73
75
74
- - uses : actions/upload-artifact@v3
75
- if : ${{ always() }}
76
+ - name : Upload test results
77
+ # TODO: This runnner is running on a self-hosted CPU. In order to upgrade
78
+ # to v4, need to upgrade the machine to support node20.
79
+ uses : actions/upload-artifact@v3
76
80
with :
81
+ name : ${{matrix.test}}_test_results
77
82
path : |
78
83
**/results*.gz
79
84
**/plot_*.svg
@@ -92,10 +97,10 @@ jobs:
92
97
- { build_type: 'debug', verbose: '1' }
93
98
steps :
94
99
95
- - uses : actions/setup-python@v4
100
+ - uses : actions/setup-python@v5
96
101
with :
97
102
python-version : 3.10.10
98
- - uses : actions/checkout@v3
103
+ - uses : actions/checkout@v4
99
104
with :
100
105
submodules : ' true'
101
106
- run : ./.github/scripts/install_dependencies.sh
@@ -122,10 +127,10 @@ jobs:
122
127
name : ' F: ${{ matrix.name }}'
123
128
steps :
124
129
125
- - uses : actions/setup-python@v4
130
+ - uses : actions/setup-python@v5
126
131
with :
127
132
python-version : 3.10.10
128
- - uses : actions/checkout@v3
133
+ - uses : actions/checkout@v4
129
134
- run : ./.github/scripts/install_dependencies.sh
130
135
131
136
- name : Test
@@ -137,10 +142,10 @@ jobs:
137
142
runs-on : ubuntu-22.04
138
143
steps :
139
144
140
- - uses : actions/setup-python@v4
145
+ - uses : actions/setup-python@v5
141
146
with :
142
147
python-version : 3.10.10
143
- - uses : actions/checkout@v3
148
+ - uses : actions/checkout@v4
144
149
with :
145
150
submodules : ' true'
146
151
- run : ./.github/scripts/install_dependencies.sh
@@ -156,10 +161,10 @@ jobs:
156
161
runs-on : ubuntu-22.04
157
162
steps :
158
163
159
- - uses : actions/setup-python@v4
164
+ - uses : actions/setup-python@v5
160
165
with :
161
166
python-version : 3.10.10
162
- - uses : actions/checkout@v3
167
+ - uses : actions/checkout@v4
163
168
with :
164
169
submodules : ' true'
165
170
- run : ./.github/scripts/install_dependencies.sh
@@ -184,52 +189,62 @@ jobs:
184
189
include : [
185
190
{
186
191
name : ' Basic' ,
187
- params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on' ,
192
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on - DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on' ,
188
193
suite : ' vtr_reg_basic'
189
194
},
190
195
{
191
196
name : ' Basic_odin' ,
192
- params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on' ,
197
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on - DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on' ,
193
198
suite : ' vtr_reg_basic_odin'
194
199
},
195
200
{
196
201
name : ' Basic with NO_GRAPHICS' ,
197
- params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVPR_USE_EZGL=off' ,
202
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVPR_USE_EZGL=off' ,
203
+ suite : ' vtr_reg_basic'
204
+ },
205
+ {
206
+ name : ' Basic with NO_SERVER' ,
207
+ params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVPR_USE_EZGL=on -DVPR_USE_SERVER=off' ,
208
+ suite : ' vtr_reg_basic'
209
+ },
210
+ {
211
+ name : ' Basic with CAPNPROTO disabled' ,
212
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_CAPNPROTO=off' ,
198
213
suite : ' vtr_reg_basic'
199
214
},
200
215
{
201
216
name : ' Basic with VTR_ENABLE_DEBUG_LOGGING' ,
202
- params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_DEBUG_LOGGING=on' ,
217
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on - DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_DEBUG_LOGGING=on' ,
203
218
suite : ' vtr_reg_basic'
204
219
},
205
220
{
206
221
name : ' Basic_odin with VTR_ENABLE_DEBUG_LOGGING' ,
207
- params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_DEBUG_LOGGING=on -DWITH_PARMYS=OFF -DWITH_ODIN=on' ,
222
+ 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' ,
208
223
suite : ' vtr_reg_basic_odin'
209
224
},
210
225
{
211
226
name : ' Strong' ,
212
- params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on' ,
227
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on - DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on' ,
213
228
suite : ' vtr_reg_strong'
214
229
},
215
230
{
216
231
name : ' Strong_odin' ,
217
- params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on' ,
232
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on - DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on' ,
218
233
suite : ' vtr_reg_strong_odin'
219
234
},
220
235
{
221
236
name : ' Valgrind Memory' ,
222
- params : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_ODIN=on' ,
237
+ params : ' -DCMAKE_COMPILE_WARNING_AS_ERROR=on - DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_ODIN=on' ,
223
238
suite : ' vtr_reg_valgrind_small'
224
239
}
225
240
]
226
241
name : ' R: ${{ matrix.name }}'
227
242
steps :
228
243
229
- - uses : actions/setup-python@v4
244
+ - uses : actions/setup-python@v5
230
245
with :
231
246
python-version : 3.10.10
232
- - uses : actions/checkout@v3
247
+ - uses : actions/checkout@v4
233
248
with :
234
249
submodules : ' true'
235
250
- run : ./.github/scripts/install_dependencies.sh
@@ -245,7 +260,7 @@ jobs:
245
260
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
246
261
247
262
- name : Upload regression run files
248
- uses : actions/upload-artifact@v3
263
+ uses : actions/upload-artifact@v4
249
264
with :
250
265
name : ${{matrix.name}}_run_files
251
266
path : |
@@ -256,7 +271,7 @@ jobs:
256
271
vtr_flow/**/*.r
257
272
258
273
- name : Upload regression results
259
- uses : actions/upload-artifact@v3
274
+ uses : actions/upload-artifact@v4
260
275
with :
261
276
name : ${{matrix.name}}_results
262
277
path : |
@@ -281,10 +296,10 @@ jobs:
281
296
name : ' S: ${{ matrix.name }}'
282
297
steps :
283
298
284
- - uses : actions/setup-python@v4
299
+ - uses : actions/setup-python@v5
285
300
with :
286
301
python-version : 3.10.10
287
- - uses : actions/checkout@v3
302
+ - uses : actions/checkout@v4
288
303
with :
289
304
submodules : ' true'
290
305
@@ -297,7 +312,13 @@ jobs:
297
312
CMAKE_PARAMS : ${{ matrix.params }}
298
313
BUILD_TYPE : debug
299
314
LSAN_OPTIONS : ' exitcode=42' # Use a non-standard exit code to ensure LSAN errors are detected
315
+ # In Ubuntu 20240310.1.0, the entropy of ASLR has increased (28 -> 32). LLVM 14 in this
316
+ # image is not compatible with this increased ASLR entropy. Apparently, memory sanitizer
317
+ # depends on LLVM and all CI tests where VTR_ENABLE_SANITIZE is enabled fail. For a temporary
318
+ # fix, we manually reduce the entropy. This quick fix should be removed in the future
319
+ # when github deploys a more stable Ubuntu image.
300
320
run : |
321
+ sudo sysctl -w vm.mmap_rnd_bits=28
301
322
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
302
323
./.github/scripts/build.sh
303
324
# We skip QoR since we are only checking for errors in sanitizer runs
@@ -309,10 +330,10 @@ jobs:
309
330
runs-on : ubuntu-22.04
310
331
steps :
311
332
312
- - uses : actions/setup-python@v4
333
+ - uses : actions/setup-python@v5
313
334
with :
314
335
python-version : 3.10.10
315
- - uses : actions/checkout@v3
336
+ - uses : actions/checkout@v4
316
337
with :
317
338
submodules : ' true'
318
339
- run : ./.github/scripts/install_dependencies.sh
@@ -334,10 +355,10 @@ jobs:
334
355
runs-on : ubuntu-22.04
335
356
steps :
336
357
337
- - uses : actions/setup-python@v4
358
+ - uses : actions/setup-python@v5
338
359
with :
339
360
python-version : 3.10.10
340
- - uses : actions/checkout@v3
361
+ - uses : actions/checkout@v4
341
362
with :
342
363
submodules : ' true'
343
364
- run : ./.github/scripts/install_dependencies.sh
@@ -349,6 +370,7 @@ jobs:
349
370
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on -DWITH_PARMYS=OFF -DWITH_ODIN=on'
350
371
BUILD_TYPE : debug
351
372
run : |
373
+ sudo sysctl -w vm.mmap_rnd_bits=28
352
374
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
353
375
./.github/scripts/build.sh
354
376
./run_reg_test.py odin_reg_basic -show_failures -j2
@@ -359,10 +381,10 @@ jobs:
359
381
runs-on : ubuntu-22.04
360
382
steps :
361
383
362
- - uses : actions/setup-python@v4
384
+ - uses : actions/setup-python@v5
363
385
with :
364
386
python-version : 3.10.10
365
- - uses : actions/checkout@v3
387
+ - uses : actions/checkout@v4
366
388
with :
367
389
submodules : ' true'
368
390
- run : ./.github/scripts/install_dependencies.sh
@@ -394,10 +416,10 @@ jobs:
394
416
name : ' B: ${{ matrix.name }}'
395
417
steps :
396
418
397
- - uses : actions/setup-python@v4
419
+ - uses : actions/setup-python@v5
398
420
with :
399
421
python-version : 3.10.10
400
- - uses : actions/checkout@v3
422
+ - uses : actions/checkout@v4
401
423
with :
402
424
submodules : ' true'
403
425
- run : ./.github/scripts/install_dependencies.sh
@@ -430,10 +452,10 @@ jobs:
430
452
runs-on : ubuntu-22.04
431
453
steps :
432
454
433
- - uses : actions/setup-python@v4
455
+ - uses : actions/setup-python@v5
434
456
with :
435
457
python-version : 3.10.10
436
- - uses : actions/checkout@v3
458
+ - uses : actions/checkout@v4
437
459
with :
438
460
submodules : ' true'
439
461
- run : ./.github/scripts/install_dependencies.sh
0 commit comments