fix: Specify minimum alignment for ResStringPool_span
to fix SIGBUS…
#44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build aapt2 | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Reason' | |
required: false | |
default: 'Update package' | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target_arch: [x86_64, x86, arm64-v8a, armeabi-v7a] | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- uses: nttld/setup-ndk@v1 | |
id: setup-ndk | |
with: | |
ndk-version: r23c | |
add-to-path: false | |
- run: ./build.sh ${{ matrix.target_arch }} | |
env: | |
NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64 | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dist-${{ matrix.target_arch }} | |
path: dist |