Travis: build libretro android

This commit is contained in:
Aaron Kling
2020-03-15 17:17:27 -05:00
parent 66471feeb2
commit 1a2bc8cae9
3 changed files with 15 additions and 3 deletions
+7 -3
View File
@@ -83,9 +83,13 @@ travis_script() {
export NDK_TOOLCHAIN_VERSION=clang
fi
pushd android
./ab.sh -j2 APP_ABI=$APP_ABI
popd
if [ "$LIBRETRO" = "TRUE" ]; then
./b.sh --libretro_android ppsspp_libretro
else
pushd android
./ab.sh -j2 APP_ABI=$APP_ABI
popd
fi
# When we can get this to work...
# chmod +x gradlew
+5
View File
@@ -70,6 +70,11 @@ matrix:
compiler: "gcc"
env: PPSSPP_BUILD_TYPE=Android
APP_ABI=x86_64
- os: linux
compiler: "gcc"
env: PPSSPP_BUILD_TYPE=Android
APP_ABI=arm64-v8a
LIBRETRO=TRUE
- os: linux
compiler: "clang"
env: PPSSPP_BUILD_TYPE=Linux
+3
View File
@@ -41,6 +41,9 @@ do
--libretro) echo "Build Libretro core"
CMAKE_ARGS="-DLIBRETRO=ON ${CMAKE_ARGS}"
;;
--libretro_android) echo "Build Libretro Android core"
CMAKE_ARGS="-DLIBRETRO=ON -DCMAKE_TOOLCHAIN_FILE=${NDK}/build/cmake/android.toolchain.cmake -DANDROID_ABI=${APP_ABI} ${CMAKE_ARGS}"
;;
--unittest) echo "Build unittest"
CMAKE_ARGS="-DUNITTEST=ON ${CMAKE_ARGS}"
;;