-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 922 Bytes
/
build.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
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
CI:
runs-on: macos-latest
strategy:
matrix:
api-level:
- 29
steps:
- uses: actions/checkout@v3
- name: JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: temurin
- name: Gradle cache
uses: gradle/gradle-build-action@v2
- name: Test
uses: reactivecircus/android-emulator-runner@v2
with:
channel: canary
profile: "Nexus S"
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: ./gradlew connectedCheck