build: added test-ci for aarch64

This commit is contained in:
dmitry 2021-09-12 16:29:49 +03:00
commit 63c20c2606
No known key found for this signature in database
GPG key ID: 8297CE728B7A7E37
2 changed files with 35 additions and 9 deletions

View file

@ -16,20 +16,20 @@ jobs:
strategy:
matrix:
include:
- type: windows
bin: yapb.dll
opts: meson setup build --cross-file=x86-windows
- type: linux
- name: linux-x86
bin: yapb.so
opts: CXX=gcc-11 CXX_LD=gold meson setup build
- type: macos
- name: windows-x86
bin: yapb.dll
opts: meson setup build --cross-file=x86-windows
- name: macos-x86
bin: yapb.dylib
opts: meson setup build --cross-file=x86-darwin
name: ${{ matrix.name }}
name: ${{ matrix.type }}
runs-on: ubuntu-latest
container: j4sdk/x86-buildtools:latest
@ -54,6 +54,33 @@ jobs:
name: ${{ matrix.bin }}
path: build/${{ matrix.bin }}
linux-aarch64:
name: linux-aarch64
runs-on: self-hosted
continue-on-error: true
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- name: Configure Build
run: |
CXX=clang-12 CXX_LD=lld meson setup build
- name: Compile Source
run: |
meson compile -v -C build
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: yapb.aarch64.so
path: build/yapb.so
publish:
if: |
github.event_name == 'release' &&