Repository navigation
Commit c53e484
committed
Restore toolchain env sources so CI can find GraalVM
nativeCompile failed on the runners with "Cannot find a Java installation
matching {languageVersion=25, vendor=GraalVM Community}".
Gradle's toolchain auto-detection only reads JAVA_HOME, and the native job
overwrites that with the JDK 21 it uses to compile the jars, so GRAALVM_HOME
— set by setup-graalvm — was never read by anything. The build kept working
locally through an entirely different path: mise exports ASDF_DATA_DIR and
Gradle discovers its installs through the asdf provider, so the missing
setting was invisible outside CI.
Auto-provisioning stays off deliberately. It cannot produce a usable GraalVM
anyway: unpacking a downloaded JDK does not preserve the symlink GraalVM
ships at bin/native-image, and nativeCompile then dies on an empty file.1 parent 9da6ae7 commit c53e484
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments