travis: add Android 64 and Android hardfp experimental builds

This commit is contained in:
Alibek Omarov
2019-10-09 02:34:30 +03:00
parent 88772a1c34
commit 53d2d10932
2 changed files with 60 additions and 2 deletions
+8 -1
View File
@@ -15,7 +15,14 @@ cd $TRAVIS_BUILD_DIR
echo "Download all needed tools and NDK"
yes | sdk/tools/bin/sdkmanager --licenses > /dev/null 2>/dev/null # who even reads licenses? :)
sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-19 ndk-bundle > /dev/null 2>/dev/null
NDK_BUNDLE="ndk-bundle"
if [ "$1" = "r10e" ]; then
NDK_BUNDLE=""
wget http://dl.google.com/android/ndk/android-ndk-r10e-linux-x86_64.bin >/dev/null 2>/dev/null
7z x ./android-ndk-r10e-linux-x86_64.bin > /dev/null
mv android-ndk-r10e ndk-bundle
fi
sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-19 $NDK_BUNDLE > /dev/null 2>/dev/null
echo "Download Xash3D FWGS Android source"
git clone --depth 1 https://github.com/FWGS/xash3d-android-project -b waf android || exit 1