From 9bfae9597be77f49754ca5a234a20000220110f4 Mon Sep 17 00:00:00 2001 From: Thomas Kerin Date: Fri, 7 Jan 2022 00:15:10 +0000 Subject: [PATCH] experiment --- .github/workflows/test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cdcff4d..e43be75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,12 +7,16 @@ env: EXT_SECP256K1_CONFIGURE: "--with-secp256k1-config --with-module-recovery --with-module-ecdh --with-module-schnorrsig --with-module-extrakeys" jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-18.04 steps: - name: Checkout code uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 7.4 - 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: cd secp256k1 && php -v && 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 ..