@@ -428,15 +428,15 @@ defaults:
428
428
429
429
- base_python_small : &base_python_small
430
430
docker :
431
- - image : circleci /python:3.6
431
+ - image : cimg /python:3.6
432
432
resource_class : small
433
433
environment :
434
434
TERM : xterm
435
435
MAKEFLAGS : -j 2
436
436
437
437
- base_node_small : &base_node_small
438
438
docker :
439
- - image : circleci /node
439
+ - image : cimg /node:current
440
440
resource_class : small
441
441
environment :
442
442
TERM : xterm
@@ -537,113 +537,113 @@ defaults:
537
537
project : colony
538
538
binary_type : solcjs
539
539
compile_only : 1
540
- nodejs_version : ' 14'
540
+ nodejs_version : ' 14.20'
541
+ python2 : true
541
542
542
543
- job_native_test_ext_gnosis : &job_native_test_ext_gnosis
543
544
<< : *workflow_ubuntu2004_static
544
545
name : t_native_test_ext_gnosis
545
546
project : gnosis
546
547
binary_type : native
547
- # NOTE: Tests crash on nodejs 17: "Error: error:0308010C:digital envelope routines::unsupported"
548
- nodejs_version : ' 16'
548
+ nodejs_version : ' 16.18'
549
549
- job_native_test_ext_zeppelin : &job_native_test_ext_zeppelin
550
550
<< : *workflow_ubuntu2004_static
551
551
name : t_native_test_ext_zeppelin
552
552
project : zeppelin
553
553
binary_type : native
554
- # NOTE: Tests crash on nodejs 17: "Error: error:0308010C:digital envelope routines::unsupported"
555
- nodejs_version : ' 16'
554
+ nodejs_version : ' 16.18'
556
555
resource_class : large
557
556
- job_native_test_ext_ens : &job_native_test_ext_ens
558
557
<< : *workflow_ubuntu2004_static
559
558
name : t_native_test_ext_ens
560
559
project : ens
561
560
binary_type : native
562
- nodejs_version : ' 16'
561
+ nodejs_version : ' 16.18 '
563
562
- job_native_test_ext_trident : &job_native_test_ext_trident
564
563
<< : *workflow_ubuntu2004_static
565
564
name : t_native_test_ext_trident
566
565
project : trident
567
566
binary_type : native
568
- nodejs_version : ' 16'
567
+ nodejs_version : ' 16.18 '
569
568
- job_native_test_ext_euler : &job_native_test_ext_euler
570
569
<< : *workflow_ubuntu2004_static
571
570
name : t_native_test_ext_euler
572
571
project : euler
573
572
binary_type : native
574
- nodejs_version : ' 16'
573
+ nodejs_version : ' 16.18 '
575
574
resource_class : medium
576
575
- job_native_test_ext_yield_liquidator : &job_native_test_ext_yield_liquidator
577
576
<< : *workflow_ubuntu2004_static
578
577
name : t_native_test_ext_yield_liquidator
579
578
project : yield-liquidator
580
579
binary_type : native
581
- nodejs_version : ' 16'
580
+ nodejs_version : ' 16.18 '
582
581
- job_native_test_ext_bleeps : &job_native_test_ext_bleeps
583
582
<< : *workflow_ubuntu2004_static
584
583
name : t_native_test_ext_bleeps
585
584
project : bleeps
586
585
binary_type : native
587
- nodejs_version : ' 16'
586
+ nodejs_version : ' 16.18 '
588
587
resource_class : medium
589
588
- job_native_test_ext_pool_together : &job_native_test_ext_pool_together
590
589
<< : *workflow_ubuntu2004_static
591
590
name : t_native_test_ext_pool_together
592
591
project : pool-together
593
592
binary_type : native
594
- nodejs_version : ' 16'
593
+ nodejs_version : ' 16.18 '
595
594
- job_native_test_ext_perpetual_pools : &job_native_test_ext_perpetual_pools
596
595
<< : *workflow_ubuntu2004_static
597
596
name : t_native_test_ext_perpetual_pools
598
597
project : perpetual-pools
599
598
binary_type : native
600
- nodejs_version : ' 16'
599
+ nodejs_version : ' 16.18 '
601
600
- job_native_test_ext_uniswap : &job_native_test_ext_uniswap
602
601
<< : *workflow_ubuntu2004_static
603
602
name : t_native_test_ext_uniswap
604
603
project : uniswap
605
604
binary_type : native
606
- nodejs_version : ' 16'
605
+ nodejs_version : ' 16.18 '
607
606
- job_native_test_ext_prb_math : &job_native_test_ext_prb_math
608
607
<< : *workflow_ubuntu2004_static
609
608
name : t_native_test_ext_prb_math
610
609
project : prb-math
611
610
binary_type : native
612
- nodejs_version : ' 16'
611
+ nodejs_version : ' 16.18 '
613
612
- job_native_test_ext_elementfi : &job_native_test_ext_elementfi
614
613
<< : *workflow_ubuntu2004_static
615
614
name : t_native_test_ext_elementfi
616
615
project : elementfi
617
616
binary_type : native
618
- nodejs_version : ' 16'
617
+ nodejs_version : ' 16.18 '
619
618
resource_class : medium
620
619
- job_native_test_ext_brink : &job_native_test_ext_brink
621
620
<< : *workflow_ubuntu2004_static
622
621
name : t_native_test_ext_brink
623
622
project : brink
624
623
binary_type : native
625
- nodejs_version : ' 16'
624
+ nodejs_version : ' 16.18 '
626
625
- job_native_test_ext_chainlink : &job_native_test_ext_chainlink
627
626
<< : *workflow_ubuntu2004_static
628
627
name : t_native_test_ext_chainlink
629
628
project : chainlink
630
629
binary_type : native
631
- nodejs_version : ' 16'
630
+ nodejs_version : ' 16.18 '
632
631
resource_class : large # Tests run out of memory on a smaller machine
633
632
- job_native_test_ext_gp2 : &job_native_test_ext_gp2
634
633
<< : *workflow_ubuntu2004_static
635
634
name : t_native_test_ext_gp2
636
635
project : gp2
637
636
binary_type : native
638
637
# NOTE: Tests crash on nodejs 17: "Error: error:0308010C:digital envelope routines::unsupported"
639
- nodejs_version : ' 16'
638
+ nodejs_version : ' 16.18 '
640
639
- job_ems_test_ext_colony : &job_ems_test_ext_colony
641
640
<< : *workflow_emscripten
642
641
name : t_ems_test_ext_colony
643
642
project : colony
644
643
binary_type : solcjs
645
- nodejs_version : ' 14'
644
+ nodejs_version : ' 14.20 '
646
645
resource_class : medium
646
+ python2 : true
647
647
648
648
- job_b_ubu_asan_clang : &job_b_ubu_asan_clang
649
649
<< : *workflow_trigger_on_tags
@@ -1178,7 +1178,7 @@ jobs:
1178
1178
t_ems_ext_hardhat :
1179
1179
<< : *base_node_small
1180
1180
docker :
1181
- - image : circleci /node:16
1181
+ - image : cimg /node:16.18
1182
1182
environment :
1183
1183
TERM : xterm
1184
1184
HARDHAT_TESTS_SOLC_PATH : /tmp/workspace/soljson.js
@@ -1217,12 +1217,15 @@ jobs:
1217
1217
default : 0
1218
1218
nodejs_version :
1219
1219
type : string
1220
- default : latest
1220
+ default : current
1221
1221
resource_class :
1222
1222
type : string
1223
1223
default : small
1224
+ python2 :
1225
+ type : boolean
1226
+ default : false
1224
1227
docker :
1225
- - image : circleci /node:<<parameters.nodejs_version>>
1228
+ - image : cimg /node:<<parameters.nodejs_version>>
1226
1229
resource_class : <<parameters.resource_class>>
1227
1230
# NOTE: Each external test runs up to 6 independent settings presets. If parallelism is higher than
1228
1231
# actual preset count, some runs will exit immediately. If it's lower, some runs will get more than one preset.
@@ -1238,7 +1241,18 @@ jobs:
1238
1241
name : Install lsof
1239
1242
command : |
1240
1243
# lsof is used by Colony in its stop-blockchain-client.sh script
1244
+ sudo apt update
1241
1245
sudo apt-get --quiet --assume-yes --no-install-recommends install lsof
1246
+ - when :
1247
+ condition : << parameters.python2 >>
1248
+ steps :
1249
+ - run :
1250
+ name : Install Python 2 and make it the default
1251
+ command : |
1252
+ # python is used by node-gyp to build native modules (needed for Colony).
1253
+ # In the 14.x image node-gyp still requires Python 2.
1254
+ sudo apt install python2 --assume-yes --no-install-recommends
1255
+ sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
1242
1256
- when :
1243
1257
condition :
1244
1258
equal : [<< parameters.binary_type >>, "solcjs"]
0 commit comments