diff --git a/.github/workflows/android_build_tests.yml b/.github/workflows/android_build_tests.yml index 4e34f0dc9..3d41f0cb8 100644 --- a/.github/workflows/android_build_tests.yml +++ b/.github/workflows/android_build_tests.yml @@ -19,15 +19,20 @@ jobs: runs-on: ${{ github.repository == 'Tencent/Hippy' && fromJson('[''self-hosted'', ''linux'']') || 'ubuntu-latest' }} container: image: ghcr.io/tencent/android-release:latest # repository name must be lowercase(${{ github.repository_owner }}) + strategy: + matrix: + type: [debug, release] + include: + - type: debug + task: assembleDebug + - type: release + task: assembleRelease timeout-minutes: 10 steps: - name: Checkout repo uses: actions/checkout@v3 with: lfs: true - - name: Debug Build + - name: Run ${{ matrix.task }} run: | - ./gradlew example::assembleDebug - - name: Release Build - run: | - ./gradlew example::assembleRelease + ./gradlew ${{ matrix.task }} -PINCLUDE_ABI_X86=true -PINCLUDE_ABI_X86_64=true diff --git a/.github/workflows/android_build_tests_bypass.yml b/.github/workflows/android_build_tests_bypass.yml index cde04ce08..f061aefd4 100644 --- a/.github/workflows/android_build_tests_bypass.yml +++ b/.github/workflows/android_build_tests_bypass.yml @@ -17,6 +17,9 @@ on: jobs: android_build_tests: runs-on: ubuntu-latest + strategy: + matrix: + type: [debug, release] steps: - name: Build Test Bypass run: |