Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 07:29:49 GMT, Aleksey Shipilev wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Apparently that was not a legal reference to actions/checkout. Try another >> way. > > This all looks very n

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 11:23:57 GMT, Aleksey Shipilev wrote: >> If I do that, there need to be some kind of if statement in the called >> workflow, since if that input argument is left out, we'd get a command line >> like `sudo dpkg --add-architecture` which I assume is illegal syntax (or, >> pos

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 11:22:00 GMT, Aleksey Shipilev wrote: >> I can merge the two `apt-get install` lines, if you say that it is not >> necessary to call `update-alternatives` before the second install line. (But >> does it really speed things up?) > >> (But does it really speed things up?) > >

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 07:23:12 GMT, Aleksey Shipilev wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Apparently that was not a legal reference to actions/checkout. Try another >> way. > > make/InitSupport.gmk

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Aleksey Shipilev
On Fri, 10 Jun 2022 09:45:15 GMT, Magnus Ihse Bursie wrote: > (But does it really speed things up?) Yes, I think it does: `apt` would read the package database once, and do the post-install actions once. `update-alternatives` does not have to happen between those two lines. - PR:

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Aleksey Shipilev
On Fri, 10 Jun 2022 09:39:29 GMT, Magnus Ihse Bursie wrote: >> .github/actions/get-bootjdk/action.yml line 26: >> >>> 24: # >>> 25: >>> 26: name: 'Get BootJDK' >> >> Here and later, polishing: "BootJDK" -> "boot JDK"? > > I think we've mostly been using "BootJDK" as a specialized term in the b

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 07:18:34 GMT, Aleksey Shipilev wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Apparently that was not a legal reference to actions/checkout. Try another >> way. > > .github/workflows/mai

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 09:43:47 GMT, Magnus Ihse Bursie wrote: >> Also, I think we can speed up this part by merging two `apt-get install` >> invocation lines together. It was separate before, because it was two steps, >> unnecessary now. > > Ideally, all version information should be centralized

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 07:14:33 GMT, Aleksey Shipilev wrote: >> .github/workflows/build-cross-compile.yml line 89: >> >>> 87: sudo apt-get install gcc-${{ inputs.apt-gcc-version }} >>> g++-${{ inputs.apt-gcc-version }} libxrandr-dev${{ inputs.apt-architecture >>> }} libxtst-dev${{ input

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 07:09:28 GMT, Aleksey Shipilev wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Apparently that was not a legal reference to actions/checkout. Try another >> way. > > .github/actions/get-b

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Magnus Ihse Bursie
On Fri, 10 Jun 2022 07:07:11 GMT, Aleksey Shipilev wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Apparently that was not a legal reference to actions/checkout. Try another >> way. > > .github/actions/get-b

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Aleksey Shipilev
On Thu, 9 Jun 2022 12:57:05 GMT, Magnus Ihse Bursie wrote: >> With project Skara, the ability to run a set of sanity build and test jobs >> on selected platforms was added. This functionality was driven by >> `.github/workflows/submit.yml`. This file unfortunately lacks any real >> structure,

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-10 Thread Aleksey Shipilev
On Fri, 10 Jun 2022 07:13:32 GMT, Aleksey Shipilev wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Apparently that was not a legal reference to actions/checkout. Try another >> way. > > .github/workflows/bui

Re: RFR: 8287906: Rewrite of GitHub Actions (GHA) sanity tests [v4]

2022-06-09 Thread Magnus Ihse Bursie
> With project Skara, the ability to run a set of sanity build and test jobs on > selected platforms was added. This functionality was driven by > `.github/workflows/submit.yml`. This file unfortunately lacks any real > structure, and contains a lot of code duplication and redundancy. This has