mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: Android CI NDK version out of date
Solution: update CI scripts to use newer r11c from r10e
This commit is contained in:
parent
8be568916e
commit
b872e7d9f7
@ -75,12 +75,12 @@ function android_build_env {
|
||||
|
||||
if [ -z "$ANDROID_NDK_ROOT" ]; then
|
||||
ANDROID_BUILD_FAIL+=("Please set the ANDROID_NDK_ROOT environment variable")
|
||||
ANDROID_BUILD_FAIL+=(" (eg. \"/home/user/android/android-ndk-r9d\")")
|
||||
ANDROID_BUILD_FAIL+=(" (eg. \"/home/user/android/android-ndk-r11c\")")
|
||||
fi
|
||||
|
||||
if [ -z "$TOOLCHAIN_PATH" ]; then
|
||||
ANDROID_BUILD_FAIL+=("Please set the TOOLCHAIN_PATH environment variable")
|
||||
ANDROID_BUILD_FAIL+=(" (eg. \"/home/user/android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin\")")
|
||||
ANDROID_BUILD_FAIL+=(" (eg. \"/home/user/android/android-ndk-r11c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin\")")
|
||||
fi
|
||||
|
||||
if [ -z "$TOOLCHAIN_NAME" ]; then
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
NDK_VER=android-ndk-r10e
|
||||
NDK_VER=android-ndk-r11c
|
||||
NDK_ABI_VER=4.9
|
||||
|
||||
if [ $TRAVIS_OS_NAME == "linux" ]
|
||||
@ -14,12 +14,11 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export FILENAME=$NDK_VER-$NDK_PLATFORM.bin
|
||||
export FILENAME=$NDK_VER-$NDK_PLATFORM.zip
|
||||
|
||||
(cd '/tmp' \
|
||||
&& wget http://dl.google.com/android/ndk/$FILENAME \
|
||||
&& chmod a+x $FILENAME \
|
||||
&& ./$FILENAME &> /dev/null ) || exit 1
|
||||
&& wget http://dl.google.com/android/repository/$FILENAME \
|
||||
&& unzip $FILENAME &> /dev/null ) || exit 1
|
||||
unset FILENAME
|
||||
|
||||
export ANDROID_NDK_ROOT="/tmp/$NDK_VER"
|
||||
|
Loading…
Reference in New Issue
Block a user