diff options
author | Igor Cota <igor@openbook.hr> | 2020-08-28 11:11:39 +0200 |
---|---|---|
committer | Igor Cota <igor@openbook.hr> | 2021-03-21 22:33:35 +0100 |
commit | 7563720e30a3052b7ee390f1b3d2874856fd073a (patch) | |
tree | 1a8c4eb4238a60450c86a51784064fc3b20464fd /ci/test/06_script_a.sh | |
parent | ebfb10cb75adb704418d08197681c1e742e63bd5 (diff) | |
download | bitcoin-7563720e30a3052b7ee390f1b3d2874856fd073a.tar.xz |
CI: add Android APK build script
Diffstat (limited to 'ci/test/06_script_a.sh')
-rwxr-xr-x | ci/test/06_script_a.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/test/06_script_a.sh b/ci/test/06_script_a.sh index 7986f7665a..a42cd6cee1 100755 --- a/ci/test/06_script_a.sh +++ b/ci/test/06_script_a.sh @@ -6,6 +6,14 @@ export LC_ALL=C.UTF-8 +if [ -n "$ANDROID_TOOLS_URL" ]; then + DOCKER_EXEC make distclean || true + DOCKER_EXEC ./autogen.sh + DOCKER_EXEC ./configure $BITCOIN_CONFIG --prefix=$DEPENDS_DIR/aarch64-linux-android || ( (DOCKER_EXEC cat config.log) && false) + DOCKER_EXEC "cd src/qt && make $MAKEJOBS && ANDROID_HOME=${ANDROID_HOME} ANDROID_NDK_HOME=${ANDROID_NDK_HOME} make apk" + exit 0 +fi + BITCOIN_CONFIG_ALL="--enable-suppress-external-warnings --disable-dependency-tracking --prefix=$DEPENDS_DIR/$HOST --bindir=$BASE_OUTDIR/bin --libdir=$BASE_OUTDIR/lib" if [ -z "$NO_WERROR" ]; then BITCOIN_CONFIG_ALL="${BITCOIN_CONFIG_ALL} --enable-werror" |