Skip to content

Commit

Permalink
Add matrix to android build
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries committed Aug 15, 2024
1 parent fe4f749 commit 49289a8
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ on:

jobs:
android:
strategy:
fail-fast: false
matrix:
platform:
- android-27
- android-29
abi:
- armeabi-v7a
- arm64-v8a
build_type: [Debug, Release]
runs-on: ubuntu-24.04
steps:
- name: Install Dependencies
Expand All @@ -27,9 +37,9 @@ jobs:
cmake -S $GITHUB_WORKSPACE -B build \
-GNinja \
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \
-DANDROID_ABI=arm64-v8a \
-DANDROID_PLATFORM=android-27 \
-DCMAKE_BUILD_TYPE=Release
-DANDROID_ABI=${{ matrix.abi }} \
-DANDROID_PLATFORM=${{ matrix.platform }} \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
- name: Build project
run: cmake --build build/

0 comments on commit 49289a8

Please sign in to comment.