2020-03-22 17:58:09 +01:00
|
|
|
name: Android CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-09-13 15:19:41 +02:00
|
|
|
- '**'
|
2020-03-22 17:58:09 +01:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2020-09-13 15:19:41 +02:00
|
|
|
- '**'
|
2020-03-22 17:58:09 +01:00
|
|
|
|
|
|
|
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
|
2020-11-22 19:22:16 +01:00
|
|
|
uses: ReactiveCircus/android-emulator-runner@v2
|
2020-03-22 17:58:09 +01:00
|
|
|
with:
|
2021-07-18 13:46:38 +02:00
|
|
|
api-level: 28
|
2020-03-23 19:33:45 +01:00
|
|
|
script: ./gradlew connectedCheck
|
2020-03-22 17:58:09 +01:00
|
|
|
|