Skip to content

Commit

Permalink
[#40] CI update, builds with IBM Semeru and Java 11, 17
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarwell committed Apr 23, 2022
1 parent 051fac0 commit 9e0adf3
Showing 1 changed file with 31 additions and 5 deletions.
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

0 comments on commit 9e0adf3

Please sign in to comment.