File tree Expand file tree Collapse file tree 1 file changed +2
-27
lines changed Expand file tree Collapse file tree 1 file changed +2
-27
lines changed Original file line number Diff line number Diff line change @@ -33,24 +33,11 @@ jobs:
33
33
run : |
34
34
git submodule init
35
35
git submodule update
36
- - uses : actions/checkout@v2
37
- with :
38
- repository : bitcoin-core/secp256k1
39
- path : libsecp256k1
40
- - name : Build and install libsecp256k1
41
- run : |
42
- brew install libtool automake
43
- cd libsecp256k1
44
- ./autogen.sh
45
- ./configure --enable-module-recovery --enable-benchmark=no --enable-tests=no
46
- make
47
- sudo make install
48
- pkg-config --cflags --libs libsecp256k1
49
36
- name : Build
50
37
run : |
51
38
mkdir build
52
39
cd build
53
- cmake -DETHC_BUILD_TESTS=ON ..
40
+ cmake -DETHC_BUILD_TESTS=ON -DETHC_TOMMATH_STATIC=ON -DETHC_SECP256K1_STATIC=ON ..
54
41
make
55
42
ls -lh
56
43
- name : Test
@@ -67,23 +54,11 @@ jobs:
67
54
run : |
68
55
git submodule init
69
56
git submodule update
70
- - uses : actions/checkout@v2
71
- with :
72
- repository : bitcoin-core/secp256k1
73
- path : libsecp256k1
74
- - name : Build and install libsecp256k1
75
- run : |
76
- cd libsecp256k1
77
- ./autogen.sh
78
- ./configure --enable-module-recovery --enable-benchmark=no --enable-tests=no
79
- make
80
- sudo make install
81
- pkg-config --cflags --libs libsecp256k1
82
57
- name : Build
83
58
run : |
84
59
mkdir build
85
60
cd build
86
- cmake -DETHC_BUILD_TESTS=ON ..
61
+ cmake -DETHC_BUILD_TESTS=ON -DETHC_TOMMATH_STATIC=ON -DETHC_SECP256K1_STATIC=ON ..
87
62
make
88
63
ls -lh
89
64
- name : Test
You can’t perform that action at this time.
0 commit comments