2020-08-28 11:11:39 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2022-12-25 00:49:50 +01:00
|
|
|
# Copyright (c) 2019-2022 The Bitcoin Core developers
|
2020-08-28 11:11:39 +02:00
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
|
2021-03-28 14:04:50 +02:00
|
|
|
export HOST=aarch64-linux-android
|
2022-05-31 11:53:51 +02:00
|
|
|
export PACKAGES="unzip openjdk-8-jdk gradle"
|
2021-03-28 14:04:50 +02:00
|
|
|
export CONTAINER_NAME=ci_android
|
2023-01-09 10:22:18 +01:00
|
|
|
export CI_IMAGE_NAME_TAG="ubuntu:focal"
|
2021-03-28 14:04:50 +02:00
|
|
|
|
|
|
|
export RUN_UNIT_TESTS=false
|
|
|
|
export RUN_FUNCTIONAL_TESTS=false
|
2020-08-28 11:11:39 +02:00
|
|
|
|
|
|
|
export ANDROID_API_LEVEL=28
|
|
|
|
export ANDROID_BUILD_TOOLS_VERSION=28.0.3
|
2022-05-31 13:43:54 +02:00
|
|
|
export ANDROID_NDK_VERSION=23.2.8568313
|
2022-05-31 12:50:19 +02:00
|
|
|
export ANDROID_TOOLS_URL=https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip
|
2021-03-28 14:04:50 +02:00
|
|
|
export ANDROID_HOME="${DEPENDS_DIR}/SDKs/android"
|
|
|
|
export ANDROID_NDK_HOME="${ANDROID_HOME}/ndk/${ANDROID_NDK_VERSION}"
|
|
|
|
export DEP_OPTS="ANDROID_SDK=${ANDROID_HOME} ANDROID_NDK=${ANDROID_NDK_HOME} ANDROID_API_LEVEL=${ANDROID_API_LEVEL} ANDROID_TOOLCHAIN_BIN=${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/"
|
2020-08-28 11:11:39 +02:00
|
|
|
|
2021-05-26 21:03:42 +02:00
|
|
|
export BITCOIN_CONFIG="--disable-tests --enable-gui-tests --disable-bench --disable-fuzz-binary --without-utils --without-libs --without-daemon"
|