Skip to content

Continuous Android #569

Continuous Android

Continuous Android #569

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