25 lines
514 B
YAML
25 lines
514 B
YAML
|
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]
|
||
|
jdk: [8,9,10,11,12,14]
|
||
|
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
|