96
96
97
97
steps :
98
98
- name : Checkout
99
- uses : actions/checkout@v3
99
+ uses : actions/checkout@v4
100
100
101
101
- name : CI script
102
102
env : ${{ matrix.configuration.env_vars }}
@@ -145,7 +145,7 @@ jobs:
145
145
146
146
steps :
147
147
- name : Checkout
148
- uses : actions/checkout@v3
148
+ uses : actions/checkout@v4
149
149
150
150
- name : CI script
151
151
uses : ./.github/actions/run-in-docker-action
@@ -189,7 +189,7 @@ jobs:
189
189
190
190
steps :
191
191
- name : Checkout
192
- uses : actions/checkout@v3
192
+ uses : actions/checkout@v4
193
193
194
194
- name : CI script
195
195
uses : ./.github/actions/run-in-docker-action
@@ -240,7 +240,7 @@ jobs:
240
240
241
241
steps :
242
242
- name : Checkout
243
- uses : actions/checkout@v3
243
+ uses : actions/checkout@v4
244
244
245
245
- name : CI script
246
246
env : ${{ matrix.configuration.env_vars }}
@@ -295,7 +295,7 @@ jobs:
295
295
296
296
steps :
297
297
- name : Checkout
298
- uses : actions/checkout@v3
298
+ uses : actions/checkout@v4
299
299
300
300
- name : CI script
301
301
env : ${{ matrix.configuration.env_vars }}
@@ -340,7 +340,7 @@ jobs:
340
340
341
341
steps :
342
342
- name : Checkout
343
- uses : actions/checkout@v3
343
+ uses : actions/checkout@v4
344
344
345
345
- name : CI script
346
346
uses : ./.github/actions/run-in-docker-action
@@ -393,7 +393,7 @@ jobs:
393
393
394
394
steps :
395
395
- name : Checkout
396
- uses : actions/checkout@v3
396
+ uses : actions/checkout@v4
397
397
398
398
- name : CI script
399
399
env : ${{ matrix.configuration.env_vars }}
@@ -448,7 +448,7 @@ jobs:
448
448
449
449
steps :
450
450
- name : Checkout
451
- uses : actions/checkout@v3
451
+ uses : actions/checkout@v4
452
452
453
453
- name : CI script
454
454
env : ${{ matrix.configuration.env_vars }}
@@ -504,7 +504,7 @@ jobs:
504
504
505
505
steps :
506
506
- name : Checkout
507
- uses : actions/checkout@v3
507
+ uses : actions/checkout@v4
508
508
509
509
- name : CI script
510
510
env : ${{ matrix.configuration.env_vars }}
@@ -558,7 +558,7 @@ jobs:
558
558
559
559
steps :
560
560
- name : Checkout
561
- uses : actions/checkout@v3
561
+ uses : actions/checkout@v4
562
562
563
563
- name : CI script
564
564
env : ${{ matrix.configuration.env_vars }}
@@ -612,7 +612,7 @@ jobs:
612
612
613
613
steps :
614
614
- name : Checkout
615
- uses : actions/checkout@v3
615
+ uses : actions/checkout@v4
616
616
617
617
- name : Install Homebrew packages
618
618
run : |
@@ -667,7 +667,7 @@ jobs:
667
667
668
668
steps :
669
669
- name : Checkout
670
- uses : actions/checkout@v3
670
+ uses : actions/checkout@v4
671
671
672
672
- name : Generate buildsystem
673
673
run : cmake -E env CFLAGS="/WX ${{ matrix.configuration.cpp_flags }}" cmake -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON ${{ matrix.configuration.cmake_options }}
@@ -695,7 +695,7 @@ jobs:
695
695
696
696
steps :
697
697
- name : Checkout
698
- uses : actions/checkout@v3
698
+ uses : actions/checkout@v4
699
699
700
700
- name : Add cl.exe to PATH
701
701
uses : ilammy/msvc-dev-cmd@v1
@@ -721,7 +721,7 @@ jobs:
721
721
722
722
steps :
723
723
- name : Checkout
724
- uses : actions/checkout@v3
724
+ uses : actions/checkout@v4
725
725
726
726
- name : CI script
727
727
uses : ./.github/actions/run-in-docker-action
@@ -754,7 +754,7 @@ jobs:
754
754
755
755
steps :
756
756
- name : Checkout
757
- uses : actions/checkout@v3
757
+ uses : actions/checkout@v4
758
758
759
759
- name : CI script
760
760
uses : ./.github/actions/run-in-docker-action
@@ -774,9 +774,33 @@ jobs:
774
774
775
775
steps :
776
776
- name : Checkout
777
- uses : actions/checkout@v3
777
+ uses : actions/checkout@v4
778
778
779
779
- name : CI script
780
780
run : |
781
781
cd sage
782
782
sage prove_group_implementations.sage
783
+
784
+ release :
785
+ runs-on : ubuntu-latest
786
+
787
+ steps :
788
+ - name : Checkout
789
+ uses : actions/checkout@v4
790
+
791
+ - run : ./autogen.sh && ./configure --enable-dev-mode && make distcheck
792
+
793
+ - name : Check installation with Autotools
794
+ env :
795
+ CI_INSTALL : ${{ runner.temp }}/${{ github.run_id }}${{ github.action }}
796
+ run : |
797
+ ./autogen.sh && ./configure --prefix=${{ env.CI_INSTALL }} && make clean && make install && ls -RlAh ${{ env.CI_INSTALL }}
798
+ gcc -o ecdsa examples/ecdsa.c $(PKG_CONFIG_PATH=${{ env.CI_INSTALL }}/lib/pkgconfig pkg-config --cflags --libs libsecp256k1) -Wl,-rpath,"${{ env.CI_INSTALL }}/lib" && ./ecdsa
799
+
800
+ - name : Check installation with CMake
801
+ env :
802
+ CI_BUILD : ${{ runner.temp }}/${{ github.run_id }}${{ github.action }}/build
803
+ CI_INSTALL : ${{ runner.temp }}/${{ github.run_id }}${{ github.action }}/install
804
+ run : |
805
+ cmake -B ${{ env.CI_BUILD }} -DCMAKE_INSTALL_PREFIX=${{ env.CI_INSTALL }} && cmake --build ${{ env.CI_BUILD }} --target install && ls -RlAh ${{ env.CI_INSTALL }}
806
+ gcc -o ecdsa examples/ecdsa.c -I ${{ env.CI_INSTALL }}/include -L ${{ env.CI_INSTALL }}/lib*/ -l secp256k1 -Wl,-rpath,"${{ env.CI_INSTALL }}/lib",-rpath,"${{ env.CI_INSTALL }}/lib64" && ./ecdsa
0 commit comments