Skip to content

Commit

Permalink
Build Android in cubeb's CI on the 3 main arch Gecko supports
Browse files Browse the repository at this point in the history
  • Loading branch information
padenot committed May 23, 2024
1 parent abd4c3b commit d4f6110
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,19 @@ jobs:
runs-on: ubuntu-22.04
env:
BUILD_TYPE: ${{ matrix.type }}
BUILD_ARCH: ${{ matrix.arch }}
strategy:
matrix:
type: [Release, Debug]
arch: [arm64-v8a, armeabi-v7a, x86_64]
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Configure CMake
shell: bash
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=android-28 -DANDROID_ABI=arm64-v8a
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=android-28 -DANDROID_ABI=$BUILD_ARCH

- name: Build
shell: bash
Expand Down

0 comments on commit d4f6110

Please sign in to comment.