File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,12 @@ jobs:
17
17
git clone https://github.com/openssl/openssl openssl_1_1_1
18
18
cd openssl_1_1_1
19
19
git checkout OpenSSL_1_1_1-stable
20
- ./Configure --prefix=/usr/local/macos darwin64-x86_64-cc -static -mmacosx-version-min=11.7
20
+ ./Configure darwin64-x86_64-cc -static -mmacosx-version-min=11.7
21
21
make build_libs -j4
22
22
23
23
- name : Build all
24
24
run : |
25
25
brew unlink openssl@3
26
-
27
26
export NONINTERACTIVE=1
28
27
brew install ninja secp256k1 libsodium libmicrohttpd pkg-config
29
28
rootPath=`pwd`
Original file line number Diff line number Diff line change 19
19
git clone https://github.com/openssl/openssl openssl_1_1_1
20
20
cd openssl_1_1_1
21
21
git checkout OpenSSL_1_1_1-stable
22
- ./Configure --prefix=/usr/local/macos darwin64-x86_64-cc -static -mmacosx-version-min=12.6
22
+ ./Configure darwin64-x86_64-cc -static -mmacosx-version-min=12.6
23
23
make build_libs -j4
24
24
25
25
- name : Compile Secp256k1
34
34
- name : Build all
35
35
run : |
36
36
brew unlink openssl@3
37
-
38
37
export NONINTERACTIVE=1
39
38
brew install ninja libmicrohttpd pkg-config
40
39
rootPath=`pwd`
Original file line number Diff line number Diff line change 19
19
sudo apt install -y build-essential git make cmake clang libgflags-dev zlib1g-dev libssl-dev libreadline-dev libmicrohttpd-dev pkg-config libgsl-dev python3 python3-dev ninja-build
20
20
21
21
- name : Configure & Build
22
- run : |
23
- wget https://dl.google.com/android/repository/android-ndk-r25b-linux.zip
24
- unzip android-ndk-r25b-linux.zip
22
+ run : |
23
+ wget -q https://dl.google.com/android/repository/android-ndk-r25b-linux.zip
24
+ unzip -q android-ndk-r25b-linux.zip
25
25
export JAVA_AWT_LIBRARY=NotNeeded
26
26
export JAVA_JVM_LIBRARY=NotNeeded
27
27
export JAVA_INCLUDE_PATH=${JAVA_HOME}/include
Original file line number Diff line number Diff line change 36
36
BLST_LIBRARY=$( pwd) /third_party/blst/armv8/libblst.a
37
37
fi
38
38
39
-
39
+ ORIG_ARCH= $ARCH
40
40
ARCH=$ABI
41
41
42
42
mkdir -p build-$ARCH
@@ -46,7 +46,7 @@ cmake .. -GNinja -DPORTABLE=1 \
46
46
-DANDROID_ABI=x86 -DANDROID_PLATFORM=android-32 -DANDROID_NDK=${ANDROID_NDK_ROOT} \
47
47
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT} /build/cmake/android.toolchain.cmake \
48
48
-DCMAKE_BUILD_TYPE=Release -DANDROID_ABI=${ABI} \
49
- -DOPENSSL_ROOT_DIR=${OPENSSL_DIR} /${ARCH } -DTON_ARCH=" " \
49
+ -DOPENSSL_ROOT_DIR=${OPENSSL_DIR} /${ORIG_ARCH } -DTON_ARCH=" " \
50
50
-DTON_ONLY_TONLIB=ON \
51
51
-DSECP256K1_INCLUDE_DIR=${SECP256K1_INCLUDE_DIR} -DSECP256K1_LIBRARY=${SECP256K1_LIBRARY} \
52
52
-DSODIUM_INCLUDE_DIR=${SODIUM_INCLUDE_DIR} -DSODIUM_LIBRARY_RELEASE=${SODIUM_LIBRARY_RELEASE} \
You can’t perform that action at this time.
0 commit comments