2020-03-22 17:58:09 +01:00
|
|
|
name: Android CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: macos-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
|
|
|
- name: Build with Gradle
|
2020-03-22 18:40:13 +01:00
|
|
|
run: ./gradlew clean build
|
2020-03-22 17:58:09 +01:00
|
|
|
- name: Android Emulator Runner
|
|
|
|
uses: ReactiveCircus/android-emulator-runner@v2.5.0
|
|
|
|
with:
|
|
|
|
api-level: 29
|
2020-03-23 19:33:45 +01:00
|
|
|
script: ./gradlew connectedCheck
|
2020-03-22 17:58:09 +01:00
|
|
|
|