mirror of https://github.com/readrops/Readrops.git
30 lines
519 B
YAML
30 lines
519 B
YAML
name: Android CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
|
|
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
|
|
run: ./gradlew clean build
|
|
- name: Android Emulator Runner
|
|
uses: ReactiveCircus/android-emulator-runner@v2.5.0
|
|
with:
|
|
api-level: 29
|
|
script: ./gradlew connectedCheck
|
|
|