1
+ name : Test
2
+ on : [push, pull_request]
3
+
4
+ jobs :
5
+ test :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - name : Checkout code
9
+ uses : actions/checkout@v2
10
+
11
+ # on:
12
+ # # Trigger the workflow on push or pull request,
13
+ # # but only for the main branch
14
+ # push:
15
+ # branches:
16
+ # - master
17
+ # pull_request:
18
+ # branches:
19
+ # - master
20
+ # # Also trigger on page_build, as well as release created events
21
+ # page_build:
22
+ # release:
23
+ # types: # This configuration does not affect the page_build event above
24
+ # - created
25
+ #
26
+ # env:
27
+ # SECP256K1_REMOTE: "https://github.com/bitcoin-core/secp256k1.git"
28
+ # SECP256K1_COMMIT: efad3506a8937162e8010f5839fdf3771dfcf516
29
+ # SECP256K1_CONFIGURE: "--enable-module-ecdh --enable-module-recovery --enable-module-schnorrsig --enable-module-extrakeys"
30
+ # EXT_SECP256K1_CONFIGURE: "--with-secp256k1-config --with-module-recovery --with-module-ecdh --with-module-schnorrsig --with-module-extrakeys"
31
+ #
32
+ # jobs:
33
+ # test:
34
+ # runs-on: ubuntu-latest
35
+ # steps:
36
+ # - name: Checkout code
37
+ # uses: actions/checkout@v2
38
+ # - run: ./gradlew check --info
39
+ # - run: git clone https://github.com/bitcoin-core/secp256k1.git libsecp256k1
40
+ # - run: cd libsecp256k1 && git checkout efad3506a8937162e8010f5839fdf3771dfcf516 \
41
+ # && ./autogen.sh \
42
+ # && ./configure --enable-tests=no --enable-benchmark=no \
43
+ # --enable-experimental --enable-module-ecdh --enable-module-recovery --enable-module-schnorrsig --enable-module-extrakeys \
44
+ # && make -j$(nproc) && sudo make install && cd ..
45
+ # - run: cd secp256k1 && phpize \
46
+ # && ./configure --with-secp256k1-config --with-module-recovery --with-module-ecdh --with-module-schnorrsig --with-module-extrakeys \
47
+ # && make -j$(nproc) && sudo make install \
48
+ # && cd ..
49
+ # - run: composer update
50
+ # - run: travis/verify_stubs.sh
51
+ # - run: cd secp256k1/ && REPORT_EXIT_STATUS=1 make test || (find tests/*.log -type f -exec cat {} + ; exit 1) && cd ..
52
+ # - run: travis/run_coverage_test.sh
53
+ # - run: travis/run_valgrind_test.sh
54
+ # - run: travis/validate_examples.sh
0 commit comments