Skip to content

Commit

Permalink
Upgrade to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
bgprudhomme committed Aug 3, 2024
1 parent d34f259 commit cd44f2a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
java: [jdk11, jdk18, graalvm]
java: [jdk21]
fail-fast: false
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Test in Linux JDK 11
if: matrix.os == 'ubuntu-latest' && matrix.java == 'jdk11'
- name: Test in Linux JDK 21
if: matrix.os == 'ubuntu-latest' && matrix.java == 'jdk21'
run: docker compose -f docker/Linux-JDK11/docker-compose.yml up --build --exit-code-from cantaloupe
- name: Test in Linux JDK 18
if: matrix.os == 'ubuntu-latest' && matrix.java == 'jdk18'
run: docker compose -f docker/Linux-JDK18/docker-compose.yml up --build --exit-code-from cantaloupe
- name: Test in Linux GraalVM
if: matrix.os == 'ubuntu-latest' && matrix.java == 'graalvm'
run: docker compose -f docker/Linux-GraalVM20/docker-compose.yml up --build --exit-code-from cantaloupe
- name: Test in Windows JDK 11
if: matrix.os == 'windows-latest' && matrix.java == 'jdk11'
- name: Test in Windows JDK 21
if: matrix.os == 'windows-latest' && matrix.java == 'jdk21'
run: docker-compose -f docker/Windows-JDK11/docker-compose.yml up --build --exit-code-from cantaloupe
- name: Test in Windows JDK 18
if: matrix.os == 'windows-latest' && matrix.java == 'jdk18'
run: docker-compose -f docker/Windows-JDK18/docker-compose.yml up --build --exit-code-from cantaloupe
# TODO: Windows+GraalVM

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/setup-java@v1
with:
java-version: '11'
java-version: '21'
java-package: jdk
architecture: x64
- name: Checkout Code
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<inceptionYear>2015</inceptionYear>

<properties>
<maven.compile.source>11</maven.compile.source>
<maven.compile.target>11</maven.compile.target>
<maven.compile.source>21</maven.compile.source>
<maven.compile.target>21</maven.compile.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jetty.version>11.0.5</jetty.version>
Expand Down

0 comments on commit cd44f2a

Please sign in to comment.