Skip to content

Commit

Permalink
Merge pull request #6 from metalurgical/add_ci
Browse files Browse the repository at this point in the history
feat: add CI
  • Loading branch information
metalurgical authored Sep 12, 2023
2 parents d127441 + 72433ce commit 5dc565b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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

0 comments on commit 5dc565b

Please sign in to comment.