-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 985 Bytes
/
android.yml
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
name: Android
on:
push:
branches: [ "master" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
ZFCI_TOKEN: ${{secrets.ZFCI_TOKEN}}
ZF_ANDROID_ABI: arm64-v8a
ZF_PROJ_PATH: ZFModuleDemo_app/zfproj
ZF_PROJ_NAME: ZFModuleDemo_app
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Setup Android NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r21e
- name: ZFSetup
run: |
chmod +x ./zfsetup.sh
./zfsetup.sh
- name: ZF build zfproj
run: |
chmod +x ../ZFFramework/tools/buildapp/buildapp_Android.sh
../ZFFramework/tools/buildapp/buildapp_Android.sh "${ZF_PROJ_NAME}" "${ZF_PROJ_PATH}"