Merge pull request #57 from rubensousa/cherrypick-aidl-removal #443
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: build | |
on: | |
push: | |
#- branches: [master] | |
#- tags: | |
pull_request: | |
env: | |
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false" | |
jobs: | |
jvm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Test | |
run: ./gradlew test | |
android: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
api-level: | |
- 21 | |
- 24 | |
- 26 | |
- 29 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Run Tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: ${{ matrix.api-level }} | |
script: ./gradlew connectedCheck | |
env: | |
API_LEVEL: ${{ matrix.api-level }} | |