From dabff209ddc97c5d1c304e64107d0c8c1dbe6897 Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Thu, 23 May 2024 15:27:34 +0200 Subject: Build Android in cubeb's CI on the 3 main arch Gecko supports --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github') 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 -- cgit v1.2.3