File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 14
14
tools : composer:v2
15
15
coverage : xdebug
16
16
17
+ - name : Install secp256k1_nostr extension for PHP
18
+ run : sudo apt install autoconf build-essential git libtool pkgconf
19
+
20
+ - name : Clone secp256k1_nostr extension for PHP repository
21
+ uses : actions/checkout@v4
22
+ with :
23
+ repository : ' 1ma/secp256k1-nostr-php'
24
+ ref : ' v0.1.3'
25
+ path : ' build/1ma/secp256k1-nostr-php'
26
+
27
+ - name : Init secp256k1_nostr extension for PHP
28
+ working-directory : ./build/1ma/secp256k1-nostr-php
29
+ run : |
30
+ git submodule init
31
+ git submodule update
32
+
33
+ - name : Build secp256k1_nostr extension for PHP
34
+ working-directory : ./build/1ma/secp256k1-nostr-php
35
+ run : |
36
+ make secp256k1 ext
37
+ make check
38
+
39
+ - name : Install secp256k1_nostr extension for PHP
40
+ working-directory : ./build/1ma/secp256k1-nostr-php
41
+ run : sudo make install
42
+
17
43
- name : Checkout
18
44
uses : actions/checkout@v3
19
45
46
+ - name : Setup PHP
47
+ uses : shivammathur/setup-php@v2
48
+ with :
49
+ ini-values : extension=secp256k1_nostr.so
50
+
20
51
- name : Install Dependencies
21
52
run : composer install --no-interaction --prefer-dist --optimize-autoloader
22
53
You can’t perform that action at this time.
0 commit comments