diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 133f94e..cdcff4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,16 +7,12 @@ env: EXT_SECP256K1_CONFIGURE: "--with-secp256k1-config --with-module-recovery --with-module-ecdh --with-module-schnorrsig --with-module-extrakeys" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout code uses: actions/checkout@v2 - - run: git clone https://github.com/bitcoin-core/secp256k1.git libsecp256k1 && echo $PWD - - run: echo $PWD ; cd libsecp256k1 && git checkout efad3506a8937162e8010f5839fdf3771dfcf516 && ./autogen.sh && ./configure --enable-tests=no --enable-benchmark=no --enable-experimental --enable-module-ecdh --enable-module-recovery --enable-module-schnorrsig --enable-module-extrakeys && make -j$(nproc) && sudo make install - - run: cd secp256k1 && phpize \ - && ./configure --with-secp256k1-config --with-module-recovery --with-module-ecdh --with-module-schnorrsig --with-module-extrakeys \ - && make -j$(nproc) && sudo make install \ - && cd .. + - run: cd /tmp && git clone https://github.com/bitcoin-core/secp256k1.git libsecp256k1 && cd libsecp256k1 && git checkout efad3506a8937162e8010f5839fdf3771dfcf516 && ./autogen.sh && ./configure --enable-tests=no --enable-benchmark=no --enable-experimental --enable-module-ecdh --enable-module-recovery --enable-module-schnorrsig --enable-module-extrakeys && make -j$(nproc) && sudo make install + - run: cd secp256k1 && phpize && ./configure --with-secp256k1-config --with-module-recovery --with-module-ecdh --with-module-schnorrsig --with-module-extrakeys && make -j$(nproc) && sudo make install - run: composer update - run: travis/verify_stubs.sh - run: cd secp256k1/ && REPORT_EXIT_STATUS=1 make test || (find tests/*.log -type f -exec cat {} + ; exit 1) && cd ..