kmmbridge changes #1724
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 :wearApp:verifyRoborazziDebug | |
- 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 |