mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add GitHub action to build Tonlib for Android OS (#517)
* GitHub action to build native-lib (tonlibjson) JNI library for Android (x86, x86_64, armeabi-v7a, arm64-v8a); Cleanup fossil actions; * update actions/checkout to v3 * update actions/checkout to v3 * silent removal of TonApi.java * remove *.debug files * minor fix * strip files; add README.md * put back ninja * correct spelling * correct README.md * fix README.md
This commit is contained in:
parent
0ddf2a7f9f
commit
b2ddaa08d5
3 changed files with 105 additions and 2 deletions
|
@ -33,8 +33,7 @@ mkdir -p build-$ARCH
|
|||
cd build-$ARCH
|
||||
|
||||
|
||||
cmake .. \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DANDROID_ABI=${ABI} -DOPENSSL_ROOT_DIR=${OPENSSL_DIR}/${ARCH} -DTON_ARCH="" -DTON_ONLY_TONLIB=ON || exit 1
|
||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DANDROID_ABI=${ABI} -DOPENSSL_ROOT_DIR=${OPENSSL_DIR}/${ARCH} -DTON_ARCH="" -DTON_ONLY_TONLIB=ON || exit 1
|
||||
ninja native-lib || exit 1
|
||||
popd
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue