Skip to content

Commit

Permalink
4.x: add tests for multiple JDK releases helidon-io#8735
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
  • Loading branch information
jbescos committed May 13, 2024
1 parent 74d06e7 commit 9d1730d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,16 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04 ]
matrix:
java_version: [ ${env.JAVA_VERSION}, latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ env.JAVA_VERSION }}
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4.1.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
java-version: ${{ matrix.java_version }}
cache: maven
- name: Maven build
run: etc/scripts/github-build.sh
Expand All @@ -92,14 +94,16 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, macos-14 ]
matrix:
java_version: [ ${env.JAVA_VERSION}, latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ env.JAVA_VERSION }}
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4.1.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
java-version: ${{ matrix.java_version }}
cache: maven
- name: Maven build
run: |
Expand All @@ -112,14 +116,16 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04 ]
matrix:
java_version: [ ${env.JAVA_VERSION}, latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ env.JAVA_VERSION }}
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4.1.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
java-version: ${{ matrix.java_version }}
cache: maven
- name: Maven build
run: etc/scripts/mp-tck.sh
Expand Down

0 comments on commit 9d1730d

Please sign in to comment.