Continuous Android #508
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: Continuous Android | |
on: | |
schedule: | |
- cron: '0 8 * * *' | |
pull_request: | |
paths: | |
- "android/**" | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
api-level: [ 26 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: 11 | |
- name: Gradle cache | |
uses: gradle/gradle-build-action@v2 | |
- name: run tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: ${{ matrix.api-level }} | |
force-avd-creation: false | |
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | |
disable-animations: true | |
script: cd android/core && ./gradlew cAT |