RFR: Fix GitHub actions
Jorn Vernee
jvernee at openjdk.org
Fri Sep 19 14:55:34 UTC 2025
Currently we use JDK 23 as both the JDK on which to run Gradle (sourced from oracle.com), and the JDK with which to build jextract (sourced from jdk.java.net).
However, neither of these sources support JDK 23 any more.
This PR proposes to change the build JDK to 25. Since the version of Gradle that we use doesn't support 25, we use 21 for running Gradle. JDK 21 is sourced from oracle.com (it is LTS there), and 25 is sourced from jdk.java.net. i.e. the source of either is not changed.
Finally, the current actions are configured to use ubuntu-20.04, since we have a binary available for that system from the llvm-project releases page on github. However, runners with that version of ubuntu seem to be in short supply, and a job I tried to run took more than 24 hours to be picked (I ended up just cancelling it). I've switched the script to use ubuntu-latest, which seems to work fine with the same binary, and is much more readily available as a runner.
See here a successful run: https://github.com/JornVernee/jextract/actions/runs/17861448305
-------------
Commit messages:
- Try running on ubuntu-latest
- Change Java versions
Changes: https://git.openjdk.org/jextract/pull/290/files
Webrev: https://webrevs.openjdk.org/?repo=jextract&pr=290&range=00
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jextract/pull/290.diff
Fetch: git fetch https://git.openjdk.org/jextract.git pull/290/head:pull/290
PR: https://git.openjdk.org/jextract/pull/290
More information about the jextract-dev
mailing list