aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-04-18 19:20:38 -0700
committerChris Robinson <[email protected]>2020-04-18 19:20:38 -0700
commitbd9eae8edd0aa82452c969d91a0631ecf058d9b3 (patch)
tree8b8fcc8f5a799f60109c11b4e19c80333432f26c
parent67e54a26697f5e898f5b0e040f18281a28c16023 (diff)
Attempt to build with Oboe on Android with Travis
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 1a72dd08..20a36c38 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,6 +36,8 @@ install:
'android-ndk-r21/sysroot/*' \
'android-ndk-r21/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/*' \
'android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/*'
+ export OBOE_LOC=~/oboe
+ git clone --depth 1 -b 1.3-stable https://github.com/google/oboe "$OBOE_LOC"
fi
script:
- >
@@ -54,6 +56,8 @@ script:
cmake \
-DANDROID_STL=c++_shared \
-DCMAKE_TOOLCHAIN_FILE=~/android-ndk-r21/build/cmake/android.toolchain.cmake \
+ -DOBOE_SOURCE="$OBOE_LOC"
+ -DALSOFT_REQUIRE_OBOE=ON \
-DALSOFT_REQUIRE_OPENSL=ON \
-DALSOFT_EMBED_HRTF_DATA=YES \
.