-
-
Notifications
You must be signed in to change notification settings - Fork 23
48 lines (41 loc) · 1.06 KB
/
Copy pathbuild-check.yml
File metadata and controls
48 lines (41 loc) · 1.06 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build Check
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
android-build:
name: Android Multi-ABI Build
runs-on: ubuntu-latest
env:
NDK_VERSION: "26.3.11579264"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Install NDK
run: |
yes | sdkmanager --licenses >/dev/null
sdkmanager "ndk;${NDK_VERSION}"
- name: Build all ABIs
run: |
export ANDROID_NDK="${ANDROID_SDK_ROOT}/ndk/${NDK_VERSION}"
make rebuild
- name: Verify build outputs
run: |
make verify
for abi in arm64-v8a armeabi-v7a x86 x86_64; do
ls -lh "bin/${abi}/andro"
done
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: andro-binaries
path: |
bin/arm64-v8a/andro
bin/armeabi-v7a/andro
bin/x86/andro
bin/x86_64/andro