forked from nnstreamer/api
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 737 Bytes
/
android.yml
File metadata and controls
29 lines (26 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Android Build Test
on:
pull_request:
branches: [ main ]
# Allow manually triggering the workflow
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
abi: ['armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: -${{ github.event.pull_request.commits }}
- name: Prepare Android build
uses: ./.github/actions/android-build
with:
abi: ${{ matrix.abi }}
- name: Upload android library
uses: actions/upload-artifact@v4
with:
name: android_lib_${{ matrix.abi }}
path: ${{ github.workspace }}/android_lib