Added workflow config for builds on PR

Closes gh-16
This commit is contained in:
Madhu Bhat
2020-04-21 15:34:38 +05:30
committed by Eleftheria Stein-Kousathana
parent f3f8c33b93
commit 3a92eb3bcf
3 changed files with 26 additions and 2 deletions

View File

@@ -81,4 +81,4 @@ jobs:
with:
java-version: 8
- name: Deploy Schema
run: echo Deploying Schema
run: echo Deploying Schema

24
.github/workflows/pr-build-workflow.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
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