2020-04-21 17:04:38 +07:00
|
|
|
name: PR build
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
2020-08-20 17:53:58 +07:00
|
|
|
jdk: [8,11,12]
|
2020-04-21 17:04:38 +07:00
|
|
|
fail-fast: false
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK ${{ matrix.jdk }}
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: ${{ matrix.jdk }}
|
|
|
|
- name: Build with Gradle
|
|
|
|
run: ./gradlew clean build
|