mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
travis: specify android version
This commit is contained in:
parent
61f49938e5
commit
e3c095a3fa
@ -71,6 +71,8 @@ jobs:
|
|||||||
cache: ccache
|
cache: ccache
|
||||||
os: linux
|
os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
language: java # we want xenial, so just java, not android
|
||||||
|
jdk: openjdk8
|
||||||
before_script:
|
before_script:
|
||||||
- sh scripts/travis_common_deps.sh
|
- sh scripts/travis_common_deps.sh
|
||||||
- sh scripts/travis_android_deps.sh
|
- sh scripts/travis_android_deps.sh
|
||||||
|
@ -11,10 +11,10 @@ wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip -qO sd
|
|||||||
|
|
||||||
echo "Unpack Android SDK"
|
echo "Unpack Android SDK"
|
||||||
unzip sdk.zip > /dev/null 2>/dev/null || exit 1
|
unzip sdk.zip > /dev/null 2>/dev/null || exit 1
|
||||||
|
cd $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
echo "Download all needed tools and NDK"
|
echo "Download all needed tools and NDK"
|
||||||
cd tools/bin || exit 1
|
sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-19 ndk-bundle
|
||||||
./sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-19 ndk-bundle
|
|
||||||
|
|
||||||
echo "Download Xash3D FWGS Android source"
|
echo "Download Xash3D FWGS Android source"
|
||||||
git clone --depth 1 https://github.com/FWGS/xash3d-android-project -b waf android || exit 1
|
git clone --depth 1 https://github.com/FWGS/xash3d-android-project -b waf android || exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user