[jdk8u-dev] RFR: 8253424: Add support for running pre-submit testing using GitHub Actions [v11]

Alex Kasko akasko at openjdk.java.net
Sun Mar 13 19:51:51 UTC 2022


On Thu, 10 Mar 2022 18:27:35 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

>> Initial attempt to backport https://github.com/openjdk/jdk11u-dev/commit/1faefed218051c324bdb5c7c10369050d6c9dd44
>> 
>> Changes so far:
>> * `make/autoconf/version-numbers` -> `common/autoconf/version-numbers`
>> * Fix version variables (`JDK_MAJOR_VERSION`, `JDK_MINOR_VERSION` and `JDK_MICRO_VERSION` in 8u)
>> * Remove boot JDK for Linux (provided by build environment Ubuntu 20.04 in openjdk-8-jdk)
>> * Replace `--with-version-opt` with `--with-user-release-suffix`
>> * Drop `--enable-jtreg-failure-handler` (unsupported)
>> * Move make targets to make invocation (`--with-default-make-target` not supported)
>> * Drop `--with-msvc-toolset-version`
>> * Disable tests as we don't currently have the bundles required to support them
>
> Andrew John Hughes has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix name of downloaded files and try again to disable additional HotSpot builds

Windows build setup with VS2017 [has worked for me](https://github.com/akashche/jdk8u-dev/actions/runs/1977187284): [modified submit.yml](https://github.com/akashche/jdk8u-dev/blob/gh-actions-win/.github/workflows/submit.yml), [additional file for a FreeType build](https://github.com/akashche/jdk8u-dev/blob/gh-actions-win/.github/workflows/freetype.vcxproj).

There is one questionable bit, when VS installer bootstrap launcher is being taken from [my msvs_2017_installer_bootstrap repo](https://github.com/akashche/msvs_2017_installer_bootstrap). This launcher is publicly available from MSFT ([download link](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15)) but I was unable to automate its fetching easily and have uploaded it to this msvs_2017_installer_bootstrap personal repo.

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

PR: https://git.openjdk.java.net/jdk8u-dev/pull/3


More information about the jdk8u-dev mailing list