mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-10 17:26:34 -10:00
ci: build for Android on arm64-v8a and x86_64
Both use android-cmake.yml, whose jobs are stage build-shared - already in the stages list, so nothing else moves. EXTRA_PATH is bin, matching the Linux jobs rather than the macOS ones: the top-level CMakeLists redirects the library output to bin/ under `UNIX AND NOT APPLE`, and Android satisfies that. The template's after_script moves the artifact out of $BUILD_DIR/$EXTRA_PATH, so getting this wrong would build fine and then ship nothing.
This commit is contained in:
1 parent
8c81f41141
commit
a81d2f59d8
1 file changed
+24
@@ -30,6 +30,11 @@ include:
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/linux-cmake.yml'
|
||||
|
||||
################################## CELLULAR ################################
|
||||
# Android
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/android-cmake.yml'
|
||||
|
||||
# Stages for building
|
||||
stages:
|
||||
- build-prepare
|
||||
@@ -112,3 +117,22 @@ libretro-build-osx-arm64:
|
||||
- .core-defs
|
||||
variables:
|
||||
EXTRA_PATH: libretro
|
||||
|
||||
################################### CELLULAR #################################
|
||||
# Android ARMv8a
|
||||
# EXTRA_PATH matches the Linux jobs: the top-level CMakeLists redirects the
|
||||
# library output to bin/ under `UNIX AND NOT APPLE`, which Android satisfies.
|
||||
android-arm64-v8a:
|
||||
extends:
|
||||
- .libretro-android-cmake-arm64-v8a
|
||||
- .core-defs
|
||||
variables:
|
||||
EXTRA_PATH: bin
|
||||
|
||||
# Android 64-bit x86
|
||||
android-x86_64:
|
||||
extends:
|
||||
- .libretro-android-cmake-x86_64
|
||||
- .core-defs
|
||||
variables:
|
||||
EXTRA_PATH: bin
|
||||
Reference in new issue
Block a user