-
Notifications
You must be signed in to change notification settings - Fork 45
63 lines (51 loc) · 1.54 KB
/
android.yml
File metadata and controls
63 lines (51 loc) · 1.54 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Android CI
on:
pull_request:
branches: ["master", "develop"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
submodules: recursive
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Make all scripts executable
run: |
chmod +x gradlew
chmod +x presentation/src/main/cpp/build.sh
- name: Build libvpx
run: cd presentation/src/main/cpp && ./build.sh
- name: Build Debug APK (without GMS)
run: ./gradlew assembleDebug
- name: Run Unit Tests
run: ./gradlew testDebugUnitTest
- name: Upload universal APK
uses: actions/upload-artifact@v7
with:
name: app-universal-no-appid
path: app/build/outputs/apk/debug/app-universal-debug.apk
- name: Upload arm64-v8a APK
uses: actions/upload-artifact@v7
with:
name: app-arm64-v8a-no-appid
path: app/build/outputs/apk/debug/app-arm64-v8a-debug.apk
- name: Upload armeabi-v7a APK
uses: actions/upload-artifact@v7
with:
name: app-armeabi-v7a-no-appid
path: app/build/outputs/apk/debug/app-armeabi-v7a-debug.apk
- name: Upload x86_64 APK
uses: actions/upload-artifact@v7
with:
name: app-x86_64-no-appid
path: app/build/outputs/apk/debug/app-x86_64-debug.apk