21
21
MAKEFLAGS : ' -j4'
22
22
BUILD : ' check'
23
23
# ## secp256k1 config
24
- ECMULTWINDOW : 15
25
- ECMULTGENKB : 22
24
+ ECMULTWINDOW : ' auto '
25
+ ECMULTGENKB : ' auto '
26
26
ASM : ' no'
27
27
WIDEMUL : ' auto'
28
28
WITH_VALGRIND : ' yes'
33
33
RECOVERY : ' no'
34
34
SCHNORRSIG : ' no'
35
35
ELLSWIFT : ' no'
36
+ SILENTPAYMENTS : ' no'
36
37
# ## test options
37
38
SECP256K1_TEST_ITERS :
38
39
BENCH : ' yes'
@@ -71,18 +72,18 @@ jobs:
71
72
matrix :
72
73
configuration :
73
74
- env_vars : { WIDEMUL: 'int64', RECOVERY: 'yes' }
74
- - env_vars : { WIDEMUL: 'int64', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
75
+ - env_vars : { WIDEMUL: 'int64', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', SILENTPAYMENTS: 'yes' }
75
76
- env_vars : { WIDEMUL: 'int128' }
76
77
- env_vars : { WIDEMUL: 'int128_struct', ELLSWIFT: 'yes' }
77
78
- env_vars : { WIDEMUL: 'int128', RECOVERY: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
78
- - env_vars : { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes' }
79
+ - env_vars : { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes', SILENTPAYMENTS: 'yes' }
79
80
- env_vars : { WIDEMUL: 'int128', ASM: 'x86_64', ELLSWIFT: 'yes' }
80
81
- env_vars : { RECOVERY: 'yes', SCHNORRSIG: 'yes' }
81
- - env_vars : { CTIMETESTS: 'no', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', CPPFLAGS: '-DVERIFY' }
82
+ - env_vars : { CTIMETESTS: 'no', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', SILENTPAYMENTS: 'yes', CPPFLAGS: '-DVERIFY' }
82
83
- env_vars : { BUILD: 'distcheck', WITH_VALGRIND: 'no', CTIMETESTS: 'no', BENCH: 'no' }
83
84
- env_vars : { CPPFLAGS: '-DDETERMINISTIC' }
84
85
- env_vars : { CFLAGS: '-O0', CTIMETESTS: 'no' }
85
- - env_vars : { CFLAGS: '-O1', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
86
+ - env_vars : { CFLAGS: '-O1', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', SILENTPAYMENTS: 'yes' }
86
87
- env_vars : { ECMULTGENKB: 2, ECMULTWINDOW: 2 }
87
88
- env_vars : { ECMULTGENKB: 86, ECMULTWINDOW: 4 }
88
89
cc :
@@ -141,6 +142,7 @@ jobs:
141
142
RECOVERY : ' yes'
142
143
SCHNORRSIG : ' yes'
143
144
ELLSWIFT : ' yes'
145
+ SILENTPAYMENTS : ' yes'
144
146
CC : ${{ matrix.cc }}
145
147
146
148
steps :
@@ -185,6 +187,7 @@ jobs:
185
187
RECOVERY : ' yes'
186
188
SCHNORRSIG : ' yes'
187
189
ELLSWIFT : ' yes'
190
+ SILENTPAYMENTS : ' yes'
188
191
CTIMETESTS : ' no'
189
192
190
193
steps :
@@ -236,6 +239,7 @@ jobs:
236
239
RECOVERY : ' yes'
237
240
SCHNORRSIG : ' yes'
238
241
ELLSWIFT : ' yes'
242
+ SILENTPAYMENTS : ' yes'
239
243
CTIMETESTS : ' no'
240
244
241
245
steps :
@@ -281,6 +285,7 @@ jobs:
281
285
RECOVERY : ' yes'
282
286
SCHNORRSIG : ' yes'
283
287
ELLSWIFT : ' yes'
288
+ SILENTPAYMENTS : ' yes'
284
289
CTIMETESTS : ' no'
285
290
286
291
strategy :
@@ -336,6 +341,7 @@ jobs:
336
341
RECOVERY : ' yes'
337
342
SCHNORRSIG : ' yes'
338
343
ELLSWIFT : ' yes'
344
+ SILENTPAYMENTS : ' yes'
339
345
CTIMETESTS : ' no'
340
346
341
347
steps :
@@ -388,6 +394,7 @@ jobs:
388
394
RECOVERY : ' yes'
389
395
SCHNORRSIG : ' yes'
390
396
ELLSWIFT : ' yes'
397
+ SILENTPAYMENTS : ' yes'
391
398
CTIMETESTS : ' no'
392
399
SECP256K1_TEST_ITERS : 2
393
400
@@ -439,6 +446,7 @@ jobs:
439
446
RECOVERY : ' yes'
440
447
SCHNORRSIG : ' yes'
441
448
ELLSWIFT : ' yes'
449
+ SILENTPAYMENTS : ' yes'
442
450
CTIMETESTS : ' no'
443
451
CFLAGS : ' -fsanitize=undefined,address -g'
444
452
UBSAN_OPTIONS : ' print_stacktrace=1:halt_on_error=1'
@@ -503,6 +511,7 @@ jobs:
503
511
RECOVERY : ' yes'
504
512
SCHNORRSIG : ' yes'
505
513
ELLSWIFT : ' yes'
514
+ SILENTPAYMENTS : ' yes'
506
515
CC : ' clang'
507
516
SECP256K1_TEST_ITERS : 32
508
517
ASM : ' no'
@@ -549,6 +558,7 @@ jobs:
549
558
RECOVERY : ' yes'
550
559
SCHNORRSIG : ' yes'
551
560
ELLSWIFT : ' yes'
561
+ SILENTPAYMENTS : ' yes'
552
562
CTIMETESTS : ' no'
553
563
554
564
strategy :
@@ -591,10 +601,10 @@ jobs:
591
601
run : env
592
602
if : ${{ always() }}
593
603
594
- x86_64- macos-native :
595
- name : " x86_64: macOS Monterey, Valgrind "
604
+ macos-native :
605
+ name : " x86_64: macOS Monterey"
596
606
# See: https://github.com/actions/runner-images#available-images.
597
- runs-on : macos-12
607
+ runs-on : macos-12 # Use M1 once available https://github.com/github/roadmap/issues/528
598
608
599
609
env :
600
610
CC : ' clang'
@@ -605,14 +615,14 @@ jobs:
605
615
fail-fast : false
606
616
matrix :
607
617
env_vars :
608
- - { WIDEMUL: 'int64', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
618
+ - { WIDEMUL: 'int64', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', SILENTPAYMENTS: 'yes' }
609
619
- { WIDEMUL: 'int128_struct', ECMULTGENKB: 2, ECMULTWINDOW: 4 }
610
- - { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
620
+ - { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', SILENTPAYMENTS: 'yes' }
611
621
- { WIDEMUL: 'int128', RECOVERY: 'yes' }
612
- - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
613
- - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', CC: 'gcc' }
614
- - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', WRAPPER_CMD: 'valgrind --error-exitcode=42', SECP256K1_TEST_ITERS: 2 }
615
- - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', CC: 'gcc', WRAPPER_CMD: 'valgrind --error-exitcode=42', SECP256K1_TEST_ITERS: 2 }
622
+ - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', SILENTPAYMENTS: 'yes' }
623
+ - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', SILENTPAYMENTS: 'yes', CC: 'gcc' }
624
+ - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', SILENTPAYMENTS: 'yes', WRAPPER_CMD: 'valgrind --error-exitcode=42', SECP256K1_TEST_ITERS: 2 }
625
+ - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', SILENTPAYMENTS: 'yes', CC: 'gcc', WRAPPER_CMD: 'valgrind --error-exitcode=42', SECP256K1_TEST_ITERS: 2 }
616
626
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', CPPFLAGS: '-DVERIFY', CTIMETESTS: 'no' }
617
627
- BUILD : ' distcheck'
618
628
@@ -650,62 +660,6 @@ jobs:
650
660
run : env
651
661
if : ${{ always() }}
652
662
653
- arm64-macos-native :
654
- name : " ARM64: macOS Sonoma"
655
- # See: https://github.com/actions/runner-images#available-images.
656
- runs-on : macos-14
657
-
658
- env :
659
- CC : ' clang'
660
- HOMEBREW_NO_AUTO_UPDATE : 1
661
- HOMEBREW_NO_INSTALL_CLEANUP : 1
662
- WITH_VALGRIND : ' no'
663
- CTIMETESTS : ' no'
664
-
665
- strategy :
666
- fail-fast : false
667
- matrix :
668
- env_vars :
669
- - { WIDEMUL: 'int64', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
670
- - { WIDEMUL: 'int128_struct', ECMULTGENPRECISION: 2, ECMULTWINDOW: 4 }
671
- - { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
672
- - { WIDEMUL: 'int128', RECOVERY: 'yes' }
673
- - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
674
- - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', CC: 'gcc' }
675
- - { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', CPPFLAGS: '-DVERIFY' }
676
- - BUILD : ' distcheck'
677
-
678
- steps :
679
- - name : Checkout
680
- uses : actions/checkout@v4
681
-
682
- - name : Install Homebrew packages
683
- run : |
684
- brew install automake libtool gcc
685
- ln -s $(brew --prefix gcc)/bin/gcc-?? /usr/local/bin/gcc
686
-
687
- - name : CI script
688
- env : ${{ matrix.env_vars }}
689
- run : ./ci/ci.sh
690
-
691
- - run : cat tests.log || true
692
- if : ${{ always() }}
693
- - run : cat noverify_tests.log || true
694
- if : ${{ always() }}
695
- - run : cat exhaustive_tests.log || true
696
- if : ${{ always() }}
697
- - run : cat ctime_tests.log || true
698
- if : ${{ always() }}
699
- - run : cat bench.log || true
700
- if : ${{ always() }}
701
- - run : cat config.log || true
702
- if : ${{ always() }}
703
- - run : cat test_env.log || true
704
- if : ${{ always() }}
705
- - name : CI env
706
- run : env
707
- if : ${{ always() }}
708
-
709
663
win64-native :
710
664
name : ${{ matrix.configuration.job_name }}
711
665
# See: https://github.com/actions/runner-images#available-images.
@@ -780,6 +734,7 @@ jobs:
780
734
RECOVERY : ' yes'
781
735
SCHNORRSIG : ' yes'
782
736
ELLSWIFT : ' yes'
737
+ SILENTPAYMENTS : ' yes'
783
738
784
739
steps :
785
740
- name : Checkout
0 commit comments