Skip to content

Commit

Permalink
ci: use JDK 21 for Graal testing
Browse files Browse the repository at this point in the history
  • Loading branch information
triceo committed Dec 3, 2024
1 parent 56e896d commit 49963fb
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/pull_request_maven_long_running.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ jobs:
"java/school-timetabling", "java/sports-league-scheduling", "java/task-assigning",
"java/tournament-scheduling", "java/vehicle-routing"
]
java-version: [ 17 ] # Only the first supported LTS; already too many jobs here.
# Only one supported LTS; already too many jobs here.
# We choose 21 as Quarkus 3.17.2 has weird issues with Java 17 GraalVM,
# with Java 21+ GraalVM being recommended even for Java 17 projects.
# https://github.com/quarkusio/quarkus/issues/44877
java-version: [ 21 ]
timeout-minutes: 120
steps:
- name: Checkout timefold-quickstarts
Expand Down Expand Up @@ -118,7 +122,11 @@ jobs:
strategy:
matrix:
module: [ "java/bed-allocation", "java/vehicle-routing"]
java-version: [ 17 ] # Only the first supported LTS; already too many jobs here.
# Only one supported LTS; already too many jobs here.
# We choose 21 as Quarkus 3.17.2 has weird issues with Java 17 GraalVM,
# with Java 21+ GraalVM being recommended even for Java 17 projects.
# https://github.com/quarkusio/quarkus/issues/44877
java-version: [ 21 ]
timeout-minutes: 120
steps:
- name: Checkout timefold-quickstarts
Expand Down Expand Up @@ -195,7 +203,11 @@ jobs:
module: [
"java/spring-boot-integration"
]
java-version: [ 17 ] # Only the first supported LTS; already too many jobs here.
# Only one supported LTS; already too many jobs here.
# We choose 21 as Quarkus 3.17.2 has weird issues with Java 17 GraalVM,
# with Java 21+ GraalVM being recommended even for Java 17 projects.
# https://github.com/quarkusio/quarkus/issues/44877
java-version: [ 21 ]
timeout-minutes: 120
steps:
- name: Checkout timefold-quickstarts
Expand Down Expand Up @@ -226,8 +238,8 @@ jobs:
uses: graalvm/setup-graalvm@v1
with:
java-version: ${{matrix.java-version}}
version: 23.0.4
distribution: 'liberica'
distribution: 'graalvm-community'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'

Expand Down

0 comments on commit 49963fb

Please sign in to comment.