Sha256: cf9d4f7b7e7b1e1de91b6b85ed824990dae5c2fc27b1e938ea47cf177de2afd4

Contents?: true

Size: 762 Bytes

Versions: 2

Compression:

Stored size: 762 Bytes

Contents

#!/usr/bin/env bash

NDK_VER=android-ndk-r11c
NDK_ABI_VER=4.9

if [ $TRAVIS_OS_NAME == "linux" ]
then
    NDK_PLATFORM=linux-x86_64
elif [ $TRAVIS_OS_NAME == "osx" ]
then
    NDK_PLATFORM=darwin-x86_64
else
    echo "Unsupported platform $TRAVIS_OS_NAME"
    exit 1
fi

export FILENAME=$NDK_VER-$NDK_PLATFORM.zip

(cd '/tmp' \
    && wget http://dl.google.com/android/repository/$FILENAME \
    && unzip $FILENAME &> /dev/null ) || exit 1
unset FILENAME

export ANDROID_NDK_ROOT="/tmp/$NDK_VER"
export TOOLCHAIN_PATH="$ANDROID_NDK_ROOT/toolchains/arm-linux-androideabi-$NDK_ABI_VER/prebuilt/$NDK_PLATFORM/bin"
export TOOLCHAIN_NAME="arm-linux-androideabi-$NDK_ABI_VER"
export TOOLCHAIN_HOST="arm-linux-androideabi"
export TOOLCHAIN_ARCH="arm"

source ./build.sh

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
laag-libzmq-4.2.3.2 vendor/github.com/zeromq/libzmq/builds/android/ci_build.sh
laag-libzmq-4.2.3.0 vendor/github.com/zeromq/libzmq/builds/android/ci_build.sh