Skip to content

Commit

Permalink
build,ci: allow to specify a array of target ABIs
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Jan 14, 2024
1 parent cbc11f8 commit 8892b4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@ jobs:
- ubuntu-22.04
- macos-13
- windows-2022
abi:
- armeabi-v7a
- arm64-v8a
- x86
- x86_64
env:
BUILD_ABI: ${{ matrix.abi }}
BUILD_ABI: armeabi-v7a,arm64-v8a,x86,x86_64
steps:
- name: Fetch source code
uses: actions/checkout@v4
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,8 @@ jobs:
- ubuntu-22.04
- macos-13
- windows-2022
abi:
- armeabi-v7a
- arm64-v8a
- x86
- x86_64
env:
BUILD_ABI: ${{ matrix.abi }}
BUILD_ABI: armeabi-v7a,arm64-v8a,x86,x86_64
steps:
- name: Fetch source code
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ open class NativeBaseConventionPlugin : Plugin<Project> {
abi {
isEnable = true
reset()
include(target.buildABI)
include(*target.buildABI.split(',').toTypedArray())
isUniversalApk = false
}
}
Expand Down

0 comments on commit 8892b4d

Please sign in to comment.