ci(workflows): android build tests will run all build types

This commit is contained in:
superzheng
2022-11-07 16:38:38 +08:00
committed by Super Zheng
parent 81ff5cbae7
commit 4d487f6215
2 changed files with 13 additions and 5 deletions
+10 -5
View File
@@ -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
@@ -17,6 +17,9 @@ on:
jobs:
android_build_tests:
runs-on: ubuntu-latest
strategy:
matrix:
type: [debug, release]
steps:
- name: Build Test Bypass
run: |