setup-android/.github/workflows/run-test.yml
Dave Olsthoorn ca48f596fe changeup CI
2020-07-25 18:49:54 +02:00

42 lines
911 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
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup Android SDK
uses: ${{ github.repository }}@${{ github.ref }}
- 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