Skip to content

Commit

Permalink
run EA JDK as normal and with experimental args
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmellr committed Sep 20, 2024
1 parent 30c0806 commit 2d6b7e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
fail-fast: false
matrix:
java: [ 11, 17, 21, 23, 24-ea ]
mvnArgs: ""
include:
- java: 24-ea
mvnArgs: "-Dnet.bytebuddy.experimental=true"

steps:
- uses: actions/checkout@v4
Expand All @@ -25,12 +29,8 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'temurin'

- name: Build (Regular)
run: mvn -B clean verify

- name: Build (EA bytebuddy.experimental)
if: ${{ failure() && endsWith(matrix.java, '-ea') }}
run: mvn -B clean verify -Dnet.bytebuddy.experimental=true
- name: Build
run: mvn -B clean verify ${{ mvnArgs }}

- name: Archive Test Logs On Failure
if: failure()
Expand Down

0 comments on commit 2d6b7e2

Please sign in to comment.