-
Notifications
You must be signed in to change notification settings - Fork 48
45 lines (35 loc) · 1021 Bytes
/
android.yml
File metadata and controls
45 lines (35 loc) · 1021 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 Official Debug APK
run: ./gradlew assembleOfficialDebug
- name: Run Official Debug Unit Tests
run: ./gradlew testOfficialDebugUnitTest
- name: Build Telemt Debug APK
run: ./gradlew assembleTelemtDebug
- name: Run Telemt Debug Unit Tests
run: ./gradlew testTelemtDebugUnitTest