Skip to content

Run Ci on multiple jdks and platforms #2

Run Ci on multiple jdks and platforms

Run Ci on multiple jdks and platforms #2

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-20.04
strategy:
matrix:
java: ['8', '11', '17']
name: Java ${{ matrix.java }} - Linux
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- run: mvn clean package
build-windows:
runs-on: windows-latest
strategy:
matrix:
java: ['8', '11', '17']
name: Java ${{ matrix.java }} - Windows
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- run: mvn clean package
build-macos:
runs-on: macos-latest
strategy:
matrix:
java: ['8', '11', '17']
name: Java ${{ matrix.java }} - macOS
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- run: mvn clean package