Skip to content
Merged
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
36 changes: 31 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,39 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: 'maven'

- name: Build with Maven
run: mvn --batch-mode --show-version --errors verify -P run-its

build-all:
needs: build

strategy:
matrix:
# windows-latest
os: [ubuntu-latest, macOS-latest]
java: [8]
jdk: [temurin, zulu]
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [8, 11, 17]
# switch to semeru after: https://github.com/actions/setup-java/pull/289
jdk: [temurin, zulu, adopt-openj9]
exclude:
# was already built
- os: ubuntu-latest
java: 11
jdk: temurin
# not ready yet, only as semeru
- java: 17
jdk: adopt-openj9
fail-fast: false

runs-on: ${{ matrix.os }}
Expand All @@ -44,4 +70,4 @@ jobs:
cache: 'maven'

- name: Build with Maven
run: mvn verify -e -B -V -P run-its
run: mvn --batch-mode --show-version --errors verify -P run-its