Skip to content

Commit

Permalink
Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
ssobue committed Dec 17, 2023
1 parent 8d7f60e commit 8115878
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ orbs:
maven: circleci/maven@1.4.1

executors:
openjdk17:
openjdk21:
docker:
# https://circleci.com/developer/ja/images/image/cimg/openjdk
- image: cimg/openjdk:17.0
- image: cimg/openjdk:21.0

jobs:
native-test:
resource_class: large
docker:
- image: ghcr.io/graalvm/graalvm-ce:22.3.1
# https://www.graalvm.org/latest/docs/getting-started/container-images/
- image: ghcr.io/graalvm/jdk-community:21
steps:
- checkout
- restore_cache:
Expand All @@ -39,6 +40,6 @@ workflows:
jobs:
- maven/test:
name: test
executor: openjdk17
executor: openjdk21
command: 'verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar'
- native-test
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
</scm>

<properties>
<java.version>17</java.version>
<snakeyaml.version>2.2</snakeyaml.version>
<java.version>21</java.version>
<!-- for SonarCloud -->
<sonar.projectKey>ssobue_markdown-slide</sonar.projectKey>
<sonar.organization>ssobue</sonar.organization>
Expand Down Expand Up @@ -130,7 +129,8 @@
<artifactId>native-maven-plugin</artifactId>
<configuration>
<jvmArgs>
<arg>-Xmx4046m</arg>
<arg>-Xms4096m</arg>
<arg>-Xmx4096m</arg>
</jvmArgs>
</configuration>
</plugin>
Expand Down

0 comments on commit 8115878

Please sign in to comment.