Create main.yml

This commit is contained in:
Geertjan Wielenga 2020-08-19 14:08:49 +02:00 committed by GitHub
parent c42f95980a
commit 5bbf6d77ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

43
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,43 @@
name: Java CI
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macOS-latest, windows-2016]
java: [1.8, 8.0.192, 9, 10, 11, 11.0.3, 12, 13, 13.0.4, 14, 15-ea, 16-ea]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Test with Maven
run: mvn test -B --file pom.xml
test-zing:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04]
java: [8.0.252, 8, 11.0.7, 11]
fail-fast: false
max-parallel: 5
name: Test Zing JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Set up JDK
uses: zing-actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Test with Maven
run: mvn test -B --file pom.xml