-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (53 loc) · 1.38 KB
/
Copy pathandroid-sdk-ci.yml
File metadata and controls
55 lines (53 loc) · 1.38 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
name: Android SDK CI
on:
pull_request:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
- v[0-9]+.[0-9]+.[0-9]+-*
jobs:
sdk-tests:
name: SDK Tests
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
filter: tree:0
- run: ./gradlew --no-daemon test
- name: Upload reports
uses: actions/upload-artifact@v4
with:
name: reports
path: |
build/reports/*/*.html
demo-java:
name: Build Demo Java
needs: [sdk-tests]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
filter: tree:0
- run: ./gradlew --no-daemon -p DemoApp/DemoAppJava assembleRelease
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: java-demo-apk
path: DemoApp/DemoAppJava/app/build/outputs/apk/release/*.apk
demo-kotlin:
name: Build Demo Kotlin
needs: [sdk-tests]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
filter: tree:0
- run: ./gradlew --no-daemon -p DemoApp/DemoAppKotlin assembleRelease
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: kotlin-demo-apk
path: DemoApp/DemoAppKotlin/app/build/outputs/apk/release/*.apk