RFR: Fix GitHub actions

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Sep 19 16:10:38 UTC 2025


On Fri, 19 Sep 2025 14:49:06 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> 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

Marked as reviewed by mcimadamore (Reviewer).

-------------

PR Review: https://git.openjdk.org/jextract/pull/290#pullrequestreview-3245680398


More information about the jextract-dev mailing list