@@ -189,6 +189,7 @@ defaults:
189
189
- run : *run_soltest
190
190
- store_test_results : *store_test_results
191
191
- store_artifacts : *artifacts_test_results
192
+ - gitter_notify_failure_unless_pr
192
193
193
194
- steps_soltest_all : &steps_soltest_all
194
195
steps :
@@ -198,6 +199,7 @@ defaults:
198
199
- run : *run_soltest_all
199
200
- store_test_results : *store_test_results
200
201
- store_artifacts : *artifacts_test_results
202
+ - gitter_notify_failure_unless_pr
201
203
202
204
- steps_cmdline_tests : &steps_cmdline_tests
203
205
steps :
@@ -207,6 +209,7 @@ defaults:
207
209
- run : *run_cmdline_tests
208
210
- store_test_results : *store_test_results
209
211
- store_artifacts : *artifacts_test_results
212
+ - gitter_notify_failure_unless_pr
210
213
211
214
# --------------------------------------------------------------------------
212
215
# Base Image Templates
@@ -396,6 +399,7 @@ jobs:
396
399
- run :
397
400
name : Check spelling
398
401
command : ~/.local/bin/codespell -S "*.enc,.git,Dockerfile*" -I ./scripts/codespell_whitelist.txt
402
+ - gitter_notify_failure_unless_pr
399
403
400
404
chk_docs_examples :
401
405
<< : *base_node_latest
@@ -409,6 +413,7 @@ jobs:
409
413
- run :
410
414
name : Test Docs examples
411
415
command : ./test/docsCodeStyle.sh
416
+ - gitter_notify_failure_unless_pr
412
417
413
418
chk_coding_style :
414
419
<< : *base_buildpack_focal
@@ -426,6 +431,7 @@ jobs:
426
431
- run :
427
432
name : Check for broken symlinks
428
433
command : ./scripts/check_symlinks.sh
434
+ - gitter_notify_failure_unless_pr
429
435
430
436
chk_errorcodes :
431
437
<< : *base_python
@@ -434,6 +440,7 @@ jobs:
434
440
- run :
435
441
name : Check for error codes
436
442
command : ./scripts/error_codes.py --check
443
+ - gitter_notify_failure_unless_pr
437
444
438
445
chk_pylint :
439
446
<< : *base_buildpack_focal
@@ -449,6 +456,7 @@ jobs:
449
456
- run :
450
457
name : Linting Python Scripts
451
458
command : ./scripts/pylint_all.py
459
+ - gitter_notify_failure_unless_pr
452
460
453
461
chk_antlr_grammar :
454
462
<< : *base_buildpack_focal
@@ -460,6 +468,7 @@ jobs:
460
468
- run :
461
469
name : Run tests
462
470
command : ./scripts/test_antlr_grammar.sh
471
+ - gitter_notify_failure_unless_pr
463
472
464
473
chk_buglist :
465
474
<< : *base_node_latest
@@ -474,6 +483,7 @@ jobs:
474
483
- run :
475
484
name : Test buglist
476
485
command : ./test/buglistTests.js
486
+ - gitter_notify_failure_unless_pr
477
487
478
488
chk_proofs :
479
489
<< : *base_buildpack_latest
@@ -486,12 +496,14 @@ jobs:
486
496
apt-get -qy install python3-pip
487
497
pip3 install --user z3-solver
488
498
- run : *run_proofs
499
+ - gitter_notify_failure_unless_pr
489
500
490
501
chk_docs_pragma_min_version :
491
502
<< : *base_ubuntu2004
492
503
steps :
493
504
- checkout
494
505
- run : *run_docs_pragma_min_version
506
+ - gitter_notify_failure_unless_pr
495
507
496
508
t_ubu_pyscripts :
497
509
<< : *base_ubuntu2004
@@ -500,6 +512,7 @@ jobs:
500
512
- run :
501
513
name : Python unit tests
502
514
command : python3 test/pyscriptTests.py
515
+ - gitter_notify_failure_unless_pr
503
516
504
517
t_win_pyscripts :
505
518
<< : *base_win_powershell
@@ -509,6 +522,7 @@ jobs:
509
522
- run :
510
523
name : Python unit tests
511
524
command : python.exe test/pyscriptTests.py
525
+ - gitter_notify_failure_unless_pr
512
526
513
527
b_ubu : &b_ubu
514
528
<< : *base_ubuntu2004_xlarge
@@ -519,6 +533,7 @@ jobs:
519
533
- store_artifacts : *artifact_solidity_upgrade
520
534
- store_artifacts : *artifact_yul_phaser
521
535
- persist_to_workspace : *artifacts_executables
536
+ - gitter_notify_failure_unless_pr
522
537
523
538
# x64 ASAN build, for testing for memory related bugs
524
539
b_ubu_asan : &b_ubu_asan
@@ -532,6 +547,7 @@ jobs:
532
547
- run : *run_build
533
548
- store_artifacts : *artifacts_solc
534
549
- persist_to_workspace : *artifacts_executables
550
+ - gitter_notify_failure_unless_pr
535
551
536
552
b_ubu_clang : &b_ubu_clang
537
553
<< : *base_ubuntu2004_clang_xlarge
@@ -540,6 +556,7 @@ jobs:
540
556
- run : *run_build
541
557
- store_artifacts : *artifacts_solc
542
558
- persist_to_workspace : *artifacts_executables
559
+ - gitter_notify_failure_unless_pr
543
560
544
561
b_ubu_asan_clang : &b_ubu_asan_clang
545
562
<< : *base_ubuntu2004_clang
@@ -553,6 +570,7 @@ jobs:
553
570
- run : *run_build
554
571
- store_artifacts : *artifacts_solc
555
572
- persist_to_workspace : *artifacts_executables
573
+ - gitter_notify_failure_unless_pr
556
574
557
575
b_ubu_ubsan_clang : &b_ubu_ubsan_clang
558
576
<< : *base_ubuntu2004_clang
@@ -586,6 +604,7 @@ jobs:
586
604
name : strip binary
587
605
command : strip build/solc/solc
588
606
- store_artifacts : *artifacts_solc
607
+ - gitter_notify_failure_unless_pr
589
608
590
609
b_ubu_codecov :
591
610
<< : *base_ubuntu2004_xlarge
@@ -597,6 +616,7 @@ jobs:
597
616
- checkout
598
617
- run : *run_build
599
618
- persist_to_workspace : *artifacts_executables
619
+ - gitter_notify_failure_unless_pr
600
620
601
621
t_ubu_codecov :
602
622
<< : *base_ubuntu2004
@@ -619,6 +639,7 @@ jobs:
619
639
name : " Coverage: All"
620
640
command : codecov --flags all --gcov-root build
621
641
- store_artifacts : *artifacts_test_results
642
+ - gitter_notify_failure_unless_pr
622
643
623
644
# Builds in C++20 mode and uses debug build in order to speed up.
624
645
# Do *NOT* store any artifacts or workspace as we don't run tests on this build.
@@ -631,6 +652,7 @@ jobs:
631
652
steps :
632
653
- checkout
633
654
- run : *run_build
655
+ - gitter_notify_failure_unless_pr
634
656
635
657
b_ubu_ossfuzz : &b_ubu_ossfuzz
636
658
<< : *base_ubuntu1604_clang
@@ -639,6 +661,7 @@ jobs:
639
661
- run : *setup_prerelease_commit_hash
640
662
- run : *run_build_ossfuzz
641
663
- persist_to_workspace : *artifacts_executables_ossfuzz
664
+ - gitter_notify_failure_unless_pr
642
665
643
666
t_ubu_ossfuzz : &t_ubu_ossfuzz
644
667
<< : *base_ubuntu1604_clang
@@ -671,6 +694,7 @@ jobs:
671
694
- run : *run_build
672
695
- store_artifacts : *artifacts_solc
673
696
- persist_to_workspace : *artifacts_executables
697
+ - gitter_notify_failure_unless_pr
674
698
675
699
b_osx :
676
700
<< : *base_osx
@@ -707,6 +731,7 @@ jobs:
707
731
- build/solc/solc
708
732
- build/test/soltest
709
733
- build/test/tools/solfuzzer
734
+ - gitter_notify_failure_unless_pr
710
735
711
736
t_osx_soltest :
712
737
<< : *base_osx
@@ -724,6 +749,7 @@ jobs:
724
749
- run : *run_soltest
725
750
- store_test_results : *store_test_results
726
751
- store_artifacts : *artifacts_test_results
752
+ - gitter_notify_failure_unless_pr
727
753
728
754
t_osx_cli :
729
755
<< : *base_osx
@@ -736,6 +762,7 @@ jobs:
736
762
at : .
737
763
- run : *run_cmdline_tests
738
764
- store_artifacts : *artifacts_test_results
765
+ - gitter_notify_failure_unless_pr
739
766
740
767
b_ems :
741
768
<< : *base_ems_xlarge
@@ -756,6 +783,7 @@ jobs:
756
783
paths :
757
784
- soljson.js
758
785
- version.txt
786
+ - gitter_notify_failure_unless_pr
759
787
760
788
b_docs :
761
789
<< : *base_ubuntu2004
@@ -768,6 +796,7 @@ jobs:
768
796
- store_artifacts :
769
797
path : docs/_build/html/
770
798
destination : docs-html
799
+ - gitter_notify_failure_unless_pr
771
800
772
801
t_ubu_soltest_all : &t_ubu_soltest_all
773
802
<< : *base_ubuntu2004
@@ -850,19 +879,11 @@ jobs:
850
879
<< : *base_ubuntu2004_clang
851
880
environment :
852
881
EVM : << pipeline.parameters.evm-version >>
853
- steps :
854
- - when :
855
- condition : true
856
- << : *steps_soltest
857
- - gitter_notify_failure_unless_pr
882
+ << : *steps_soltest
858
883
859
884
t_ubu_ubsan_clang_cli :
860
885
<< : *base_ubuntu2004_clang
861
- steps :
862
- - when :
863
- condition : true
864
- << : *steps_cmdline_tests
865
- - gitter_notify_failure_unless_pr
886
+ << : *steps_cmdline_tests
866
887
867
888
t_ems_solcjs :
868
889
<< : *base_ubuntu2004
@@ -882,6 +903,7 @@ jobs:
882
903
node --version
883
904
npm --version
884
905
test/externalTests/solc-js/solc-js.sh /tmp/workspace/soljson.js $(cat /tmp/workspace/version.txt)
906
+ - gitter_notify_failure_unless_pr
885
907
886
908
t_ems_ext_hardhat :
887
909
<< : *base_node_latest
@@ -907,6 +929,7 @@ jobs:
907
929
# NOTE: This is expected to work without running `yarn build` first.
908
930
cd hardhat/packages/hardhat-core
909
931
yarn test
932
+ - gitter_notify_failure_unless_pr
910
933
911
934
t_ems_ext :
912
935
parameters :
@@ -918,9 +941,6 @@ jobs:
918
941
nodejs_version :
919
942
type : integer
920
943
default : 14
921
- gitter_notify :
922
- type : boolean
923
- default : no
924
944
docker :
925
945
- image : circleci/node:<<parameters.nodejs_version>>
926
946
environment :
@@ -939,11 +959,7 @@ jobs:
939
959
name : External <<parameters.project>> tests
940
960
command : |
941
961
test/externalTests/<<parameters.project>>.sh /tmp/workspace/soljson.js
942
- - when :
943
- condition : <<parameters.gitter_notify>>
944
- steps :
945
- - gitter_notify_failure_unless_pr
946
- - gitter_notify_success_unless_pr
962
+ - gitter_notify_failure_unless_pr
947
963
948
964
b_win : &b_win
949
965
<< : *base_win_powershell
@@ -974,6 +990,7 @@ jobs:
974
990
paths :
975
991
- .\solc\*\solc.exe
976
992
- .\test\*\soltest.exe
993
+ - gitter_notify_failure_unless_pr
977
994
978
995
b_win_release :
979
996
<< : *b_win
@@ -996,6 +1013,7 @@ jobs:
996
1013
command : .circleci/soltest.ps1
997
1014
- store_test_results : *store_test_results
998
1015
- store_artifacts : *artifacts_test_results
1016
+ - gitter_notify_failure_unless_pr
999
1017
1000
1018
t_win_release_soltest :
1001
1019
<< : *t_win_soltest
@@ -1019,6 +1037,7 @@ jobs:
1019
1037
paths :
1020
1038
- bytecode-report-ubuntu-json.txt
1021
1039
- bytecode-report-ubuntu-cli.txt
1040
+ - gitter_notify_failure_unless_pr
1022
1041
1023
1042
b_bytecode_osx :
1024
1043
<< : *base_osx
@@ -1039,6 +1058,7 @@ jobs:
1039
1058
paths :
1040
1059
- bytecode-report-osx-json.txt
1041
1060
- bytecode-report-osx-cli.txt
1061
+ - gitter_notify_failure_unless_pr
1042
1062
1043
1063
b_bytecode_win :
1044
1064
<< : *base_win_cmd
@@ -1062,6 +1082,7 @@ jobs:
1062
1082
paths :
1063
1083
- bytecode-report-windows-json.txt
1064
1084
- bytecode-report-windows-cli.txt
1085
+ - gitter_notify_failure_unless_pr
1065
1086
1066
1087
b_bytecode_ems :
1067
1088
<< : *base_node_latest
@@ -1078,6 +1099,7 @@ jobs:
1078
1099
root : .
1079
1100
paths :
1080
1101
- bytecode-report-emscripten.txt
1102
+ - gitter_notify_failure_unless_pr
1081
1103
1082
1104
t_bytecode_compare :
1083
1105
<< : *base_ubuntu2004
@@ -1114,6 +1136,7 @@ jobs:
1114
1136
# NOTE: store_artifacts does not support the 'when' attribute.
1115
1137
# Fortunately when the artifact does not exist it just says "No artifact files found" and ignores it.
1116
1138
path : all-bytecode-reports.zip
1139
+ - gitter_notify_failure_unless_pr
1117
1140
1118
1141
workflows :
1119
1142
version : 2
@@ -1284,4 +1307,3 @@ workflows:
1284
1307
<< : *workflow_emscripten
1285
1308
name : t_ems_test_ext_colony
1286
1309
project : colony
1287
- gitter_notify : yes
0 commit comments