Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Builds and Tests all major versions of Java on Ubuntu and MacOS. #638

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@ on: [push, pull_request]

jobs:
build-and-test:
runs-on: ubuntu-latest

runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [8, 11, 15]
os: [ubuntu-latest, macOS-latest]
carldea marked this conversation as resolved.
Show resolved Hide resolved
fail-fast: false
max-parallel: 3
name: Build and Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:

- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: ${{ matrix.java }}
- uses: actions/cache@v1
with:
path: ~/.m2/repository
Expand Down