Skip to content

Commit

Permalink
ci: update native-image testing to GraalVM 21
Browse files Browse the repository at this point in the history
  • Loading branch information
kkriske authored Oct 4, 2023
1 parent 89dbda1 commit 1229f00
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
java: [ '17', '20' ]
java: [ '17', '21' ]
profiles: ['native', 'native,native-exported']
runs-on: ${{ matrix.os }}
steps:
Expand Down
16 changes: 13 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>5.10.0</junit.version>
<surefire.version>3.1.2</surefire.version>
<graalvm.version>22.3.2</graalvm.version>
<graalvm.version>23.1.0</graalvm.version>
<java9.sourceDirectory>${project.basedir}/src/main/java9</java9.sourceDirectory>
</properties>

Expand Down Expand Up @@ -344,7 +344,7 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>0.9.25</version>
<version>0.9.27</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down Expand Up @@ -420,7 +420,7 @@
-->
<dependency>
<groupId>org.graalvm.sdk</groupId>
<artifactId>graal-sdk</artifactId>
<artifactId>nativeimage</artifactId>
<version>${graalvm.version}</version>
<scope>provided</scope>
</dependency>
Expand All @@ -435,6 +435,16 @@
<artifactId>assertj-core</artifactId>
<version>3.24.2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<!--
assertj bundles an outdated version of byte-buddy.
This exclusion this makes sure the one junit brings in is used.
-->
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit-pioneer</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java9/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
requires org.slf4j;
requires transitive java.sql;
requires transitive java.sql.rowset;
requires static org.graalvm.sdk;
requires static org.graalvm.nativeimage;

exports org.sqlite;
exports org.sqlite.core;
Expand Down

0 comments on commit 1229f00

Please sign in to comment.