-
Notifications
You must be signed in to change notification settings - Fork 97
46 lines (35 loc) · 1011 Bytes
/
android_wear_jvm.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
46
name: Android, Wear and JVM CI
on: pull_request
# Cancel any current or previous job from the same PR
concurrency:
group: android-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build-android:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
lfs: 'true'
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Setup Gradle
uses: gradle/[email protected]
- name: Wear Unit Tests
run: ./gradlew :androidApp:testDebugUnitTest :wearApp:testDebugUnitTest
- name: Build
run: ./gradlew :androidApp:assembleDebug :wearApp:assembleDebug
build-jvm:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Setup Gradle
uses: gradle/[email protected]
- name: Build
run: ./gradlew :shared:runJvmMain