mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Travis: build libretro android
This commit is contained in:
+7
-3
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user