setup-android/.github/workflows/run-test.yml
2020-07-25 19:26:54 +02:00

47 lines
1,004 B
YAML

name: run-test
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- master
- releases/*
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
- uses: actions/checkout@v2
with:
repository: daveol/SampleApplication
- uses: actions/checkout@v2
with:
path: ../setup-android/
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup Android SDK
id: 'setup-android'
uses: ./../setup-android/
- name: Build SampleApplication
if: runner.os != 'windows'
run: ./gradlew --no-daemon build
- name: Build streetcomplete (Windows)
if: runner.os == 'windows'
run: .\gradlew.bat --no-daemon build