From 336d260f8409e5e0b70412920b7e6ca424307e09 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sat, 15 Jan 2022 19:18:04 -0500 Subject: [PATCH] [actions] Add CI for jdk 8, 11, 17, and 18-ea --- .github/workflows/ci.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 000000000..b19436bbb --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,25 @@ +name: Java CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] + java: [8, 11, 17, 18-ea] + distribution: ['zulu'] + fail-fast: false + max-parallel: 4 + name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v2 + with: + java-version: ${{ matrix.java }} + distribution: ${{ matrix.distribution }} + - name: Test with Maven + run: ./mvnw test -B -D"license.skip=true"