From 85ff22a71b60ada2f95ff8850964ec93a2c793d7 Mon Sep 17 00:00:00 2001 From: marmoure Date: Mon, 6 Nov 2023 11:26:36 +0100 Subject: [PATCH] [ci] test on multiple jdks and platforms --- .github/workflows/ci.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f8c35d..273f9b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,20 @@ name: Build on: [push, pull_request] + jobs: - build: - runs-on: macos-latest + assemble: + name: Build and Test + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + jdk: [1.8.282,1.11.0,1.17.0-0] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - - name: Set up JDK 8 + - name: Setup Java uses: actions/setup-java@v3 with: - java-version: '8' - distribution: 'temurin' - - name: Build with Maven - run: mvn clean test \ No newline at end of file + distribution: 'zulu' + java-version: ${{ matrix.jdk }} + - run: mvn clean package \ No newline at end of file