mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-08-05 07:38:55 +00:00
Update Android Libretro build
This commit is contained in:
parent
292770729d
commit
382b9dd742
1 changed files with 3 additions and 29 deletions
32
.github/workflows/Hydra_Build.yml
vendored
32
.github/workflows/Hydra_Build.yml
vendored
|
@ -217,38 +217,11 @@ jobs:
|
|||
ARM-Libretro-Android:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
build_type:
|
||||
- release
|
||||
|
||||
steps:
|
||||
- name: Set BUILD_TYPE variable
|
||||
run: echo "BUILD_TYPE=${{ matrix.build_type }}" >> $GITHUB_ENV
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- name: Fetch submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Setup CCache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
|
||||
- name: Set up gradle caches
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-pandroid-arm64-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pandroid-arm64-
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '17'
|
||||
|
||||
- name: Configure CMake
|
||||
run: cmake -B ${{github.workspace}}/build -DBUILD_LIBRETRO_CORE=1 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DENABLE_VULKAN=0 -DENABLE_USER_BUILD=ON -DCMAKE_CXX_FLAGS="-march=armv8-a+crypto" -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||
|
||||
|
@ -265,6 +238,7 @@ jobs:
|
|||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Android libretro shared library (arm64)
|
||||
name: Android arm64 Libretro core
|
||||
path: |
|
||||
./build/panda3ds_libretro.so
|
||||
${{github.workspace}}/build/panda3ds_libretro.so
|
||||
${{github.workspace}}/docs/libretro/panda3ds_libretro.info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue