mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-02 02:04:48 +12:00
fx
This commit is contained in:
parent
31488a0bd4
commit
1259d6b758
1 changed files with 12 additions and 6 deletions
14
.github/workflows/Android_Build.yml
vendored
14
.github/workflows/Android_Build.yml
vendored
|
@ -21,6 +21,9 @@ jobs:
|
|||
- name: Fetch submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Set BUILD_TYPE variable
|
||||
run: echo "BUILD_TYPE=${{ matrix.build_type }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Setup Vulkan SDK
|
||||
uses: humbletim/setup-vulkan-sdk@v1.2.0
|
||||
with:
|
||||
|
@ -35,14 +38,14 @@ jobs:
|
|||
java-version: '17'
|
||||
|
||||
- name: Configure CMake
|
||||
run: cmake -B ${{github.workspace}}/build -DBUILD_HYDRA_CORE=1 -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DENABLE_VULKAN=0 -DENABLE_USER_BUILD=ON
|
||||
run: cmake -B ${{github.workspace}}/build -DBUILD_HYDRA_CORE=1 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DENABLE_VULKAN=0 -DENABLE_USER_BUILD=ON
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
# Apply patch for GLES compatibility
|
||||
git apply ./.github/gles.patch
|
||||
# Build the project with CMake
|
||||
cmake --build ${{github.workspace}}/build --config ${{ matrix.build_type }}
|
||||
cmake --build ${{github.workspace}}/build --config ${{ env.BUILD_TYPE }}
|
||||
# Move the generated library to the appropriate location
|
||||
mv ./build/libAlber.so ./src/pandroid/app/src/main/jniLibs/x86_64/
|
||||
# Build the Android app with Gradle
|
||||
|
@ -71,6 +74,9 @@ jobs:
|
|||
- name: Fetch submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Set BUILD_TYPE variable
|
||||
run: echo "BUILD_TYPE=${{ matrix.build_type }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Setup Vulkan SDK
|
||||
uses: humbletim/setup-vulkan-sdk@v1.2.0
|
||||
with:
|
||||
|
@ -85,14 +91,14 @@ jobs:
|
|||
java-version: '17'
|
||||
|
||||
- name: Configure CMake
|
||||
run: cmake -B ${{github.workspace}}/build -DBUILD_HYDRA_CORE=1 -DCMAKE_BUILD_TYPE=${{ matrix.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"
|
||||
run: cmake -B ${{github.workspace}}/build -DBUILD_HYDRA_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"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
# Apply patch for GLES compatibility
|
||||
git apply ./.github/gles.patch
|
||||
# Build the project with CMake
|
||||
cmake --build ${{github.workspace}}/build --config ${{ matrix.build_type }}
|
||||
cmake --build ${{github.workspace}}/build --config ${{ env.BUILD_TYPE }}
|
||||
# Move the generated library to the appropriate location
|
||||
mv ./build/libAlber.so ./src/pandroid/app/src/main/jniLibs/arm64-v8a/
|
||||
# Build the Android app with Gradle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue