File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
- name : GitHub Actions Demo
1
+ name : Test extension
2
2
on : [push]
3
3
env :
4
4
SECP256K1_REMOTE : " https://github.com/bitcoin-core/secp256k1.git"
8
8
jobs :
9
9
test :
10
10
runs-on : ubuntu-18.04
11
+ strategy :
12
+ matrix :
13
+ operating-system : [ubuntu-latest]
14
+ php-versions : ['7.2', '7.3', '7.4']
11
15
steps :
12
16
- name : Checkout code
13
17
uses : actions/checkout@v2
14
18
- name : Setup PHP
15
19
uses : shivammathur/setup-php@v2
16
20
with :
17
- php-version : 7.4
21
+ php-version : ${{ matrix.php-versions }}
18
22
- 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
19
23
- 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
20
24
- run : composer update
You can’t perform that action at this time.
0 commit comments