Skip to content

Commit

Permalink
php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
afk11 committed Jan 7, 2022
1 parent 8c767c3 commit 58cfd6f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GitHub Actions Demo
name: Test extension
on: [push]
env:
SECP256K1_REMOTE: "https://github.com/bitcoin-core/secp256k1.git"
Expand All @@ -8,13 +8,17 @@ env:
jobs:
test:
runs-on: ubuntu-18.04
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.2', '7.3', '7.4']
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: ${{ matrix.php-versions }}
- run: cd /tmp && git clone ${SECP256K1_REMOTE} 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 && 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
Expand Down

0 comments on commit 58cfd6f

Please sign in to comment.