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 e4f2d4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- x86
- x86_64
env:
BUILD_ABI: ${{ matrix.abi }}
BUILD_ABI: ${{ join(matrix.abi, ',' }}
steps:
- name: Fetch source code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- x86
- x86_64
env:
BUILD_ABI: ${{ matrix.abi }}
BUILD_ABI: ${{ join(matrix.abi, ',' }}
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 e4f2d4b

Please sign in to comment.