fluidsynth/test-android/build-scripts/build-all-archs.sh
atsushieno e6b3ce8a6b Add Android test app.
As described on README, it does not really run tests yet.
But it asserts that libfluidsynth.so is loadable at least.
2021-06-12 19:05:51 +09:00

19 lines
848 B
Bash
Executable file

#!/bin/bash
source ./build-env.sh
mkdir -p $DEV
# build
ANDROID_ABI_CMAKE=armeabi-v7a ./extract.sh || exit 1
ARCH='arm' ANDROID_ARCH='armv7a' ANDROID_ABI_CMAKE='armeabi-v7a' ANDROID_TARGET_ABI='eabi' AUTOTOOLS_TARGET="$ARCH-none-linux-$ANDROID_TARGET_ABI" ./build.sh || exit 1
ANDROID_ABI_CMAKE=arm64-v8a ./extract.sh || exit 1
ARCH='aarch64' ANDROID_ARCH='aarch64' ANDROID_ABI_CMAKE='arm64-v8a' ANDROID_TARGET_ABI='' AUTOTOOLS_TARGET="$ARCH-none-linux" ./build.sh || exit 1
ANDROID_ABI_CMAKE=x86 ./extract.sh || exit 1
ARCH='i686' ANDROID_ARCH='i686' ANDROID_ABI_CMAKE='x86' ANDROID_TARGET_ABI='' AUTOTOOLS_TARGET="$ARCH-pc-linux" ./build.sh || exit 1
ANDROID_ABI_CMAKE=x86_64 ./extract.sh || exit 1
ARCH='x86_64' ANDROID_ARCH='x86_64' ANDROID_ABI_CMAKE='x86_64' ANDROID_TARGET_ABI='' AUTOTOOLS_TARGET="$ARCH-pc-linux" ./build.sh || exit 1