Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Commit

Permalink
ci/cd: questionable build args for GraalVM removed
Browse files Browse the repository at this point in the history
We should be more careful and test it beforehand. Also take note that Github Actions runs GraalVM CE
  • Loading branch information
realkarmakun committed May 25, 2024
1 parent a63f78c commit 4975f91
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,8 @@ graalvmNative {
binaries {
named("main") {
mainClass = "ru.meproject.pterocli.PterocliKt"
buildArgs.addAll("--enable-sbom", "--strict-image-heap")
runtimeArgs.addAll("-Xmx256M")
if (isWindows()) {
buildArgs.addAll(
"--initialize-at-build-time=com.github.ajalt.mordant.internal.nativeimage.NativeImageWin32MppImpls",
)
}
buildArgs.addAll("--enable-sbom")
runtimeArgs.addAll("-Xmx512M")
}
}
}
Expand Down

0 comments on commit 4975f91

Please sign in to comment.