Skip to content

Commit

Permalink
Bump experimental matrix to JDK23
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi committed Feb 7, 2025
1 parent 1c8e7cd commit 20a9ce0
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/java-ea-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,35 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ 21 ]
os: [ ubuntu-latest, macos-latest ]
java: [ 23 ]
os:
- ubuntu-latest # Linux x64
- ubuntu-24.04-arm # Linux arm64
- macos-latest # macOS arm64

name: JDK${{ matrix.java }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Checkout and Setup Maven
uses: s4u/setup-maven-action@v1.18.0
with:
submodules: true
fetch-depth: 0
checkout-submodules: true
checkout-fetch-depth: 0
java-distribution: 'temurin'
java-version: ${{ matrix.java }}

- name: Setup Java
uses: actions/setup-java@v4
- name: Pre-download dependencies with Maven
uses: nick-fields/retry@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
command: mvn -U dependency:go-offline
max_attempts: 3
timeout_minutes: 5

- name: Build and (headless) test with Maven (Linux)
if: ${{ runner.os == 'Linux' }}
run: xvfb-run mvn -U verify
run: xvfb-run mvn verify

- name: Build and (headless) test with Maven (Windows and macOS)
if: ${{ runner.os != 'Linux' }}
run: mvn -U verify
run: mvn verify

0 comments on commit 20a9ce0

Please sign in to comment.