8361478: GHA: Use MSYS2 from GHA runners#26156
8361478: GHA: Use MSYS2 from GHA runners#26156shipilev wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
|
@shipilev This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
|
I recall there were some issues with using MSYS2 that comes with Actions. That was a long time ago though, are they no longer a problem with current Actions and MSYS2 versions? |
We used to have a problem building jtreg, so we pinned and later unpinned the version: JDK-8310259. But today, we do not build jtreg on Windows at all. And we have not seen any issues with MSYS2 since. So I think it is okay to bump the version now. We can retract it back if we find problems, it would only require rewiring the |
TheShermanTanker
left a comment
There was a problem hiding this comment.
I think the problem was something else about Actions MSYS2 not being usable, but alas I can't remember enough to actually make a valid point. So this gets a +1 from me since it can easily be backed out if it does cause issues. I'm not a Reviewer though, so you'll have to wait for Magnus to take a look at this
|
Hey @magicus ;) |
magicus
left a comment
There was a problem hiding this comment.
Sorry, on vacation. (I still am, just checking in here) This looks good though.
|
Thanks! I am going to re-merge to confirm that GHA still works, and then integrate. |
|
/integrate |
|
Going to push as commit ed9066b.
Your commit was automatically rebased without conflicts. |
Installing MSYS2 takes considerable time in our Windows workflows. Fortunately, GHA runners currently ship with MSYS2 bundled! The docs for setup-msys2 step say it is enough to say
release: falseto use those:https://github.com/msys2/setup-msys2?tab=readme-ov-file#release
Also bumping the action version to gain access to the actual installed path.
Additional testing:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/26156/head:pull/26156$ git checkout pull/26156Update a local copy of the PR:
$ git checkout pull/26156$ git pull https://git.openjdk.org/jdk.git pull/26156/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 26156View PR using the GUI difftool:
$ git pr show -t 26156Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/26156.diff
Using Webrev
Link to Webrev Comment