aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2024-05-23 15:27:34 +0200
committerPaul Adenot <[email protected]>2024-05-24 15:53:45 +0200
commitdabff209ddc97c5d1c304e64107d0c8c1dbe6897 (patch)
treee1ac03e30dab07fea12052820a45caab13b5c864 /.github
parentcb2e32e3e5eee688cbb983b61d8b86bcb8e91a67 (diff)
downloadcubeb-dabff209ddc97c5d1c304e64107d0c8c1dbe6897.tar.gz
cubeb-dabff209ddc97c5d1c304e64107d0c8c1dbe6897.zip
Build Android in cubeb's CI on the 3 main arch Gecko supports
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 977d8b6..9ec43e8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -71,9 +71,11 @@ 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:
@@ -81,7 +83,7 @@ jobs:
- 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