-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CI, mostly MSYS1 (now using CI tarball instead of checkout) #186
base: gcos4gnucobol-3.x
Are you sure you want to change the base?
Conversation
8e6f556
to
a29b1f5
Compare
a29b1f5
to
6dccc0e
Compare
6dccc0e
to
d84c3ea
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## gcos4gnucobol-3.x #186 +/- ##
=====================================================
- Coverage 77.56% 67.75% -9.81%
=====================================================
Files 33 33
Lines 60230 60245 +15
Branches 15834 15839 +5
=====================================================
- Hits 46717 40819 -5898
- Misses 13513 13531 +18
- Partials 0 5895 +5895
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c50c46e
to
9460787
Compare
@lefessan @ddeclerck @nberth So this current version does work (or at least should), but it is a rather complicate setup:
The biggest downside is, that using this approach the MSYS1 workflow doesn't show up in the PR workflow at all, you can only see it in the "actions" tab. Options to go on:
I tend to option 3, the only side effects I see are that we can't only run the Ubuntu or MSYS1 jobs anymore then (as far as I know it is always "all of a single workflow"). In theory this could also lead to a workflow timeout, but so far there is nothing we need to be concerned of, timing-wise with that. |
8b5c536
to
0b1e61b
Compare
As for the MSYS1 workflow : maybe I missed something ; why is it necessary to trigger it from the Ubuntu workflow ? |
If the workflow is separated then we can only get the CI tarball (MSYS1 is too old to build with the new dependencies in GC 3.3) by knowing the run-id of the job; we can either trigger it from Ubuntu to do so (but this misses the output in PRs.. and anywhere outside the "Action" tab) or do some more complicate API calling with timeout in the MSYS1. ... or we just combine them into one, and save all the struggle... |
05f941e
to
07633f9
Compare
* ubuntu: * only run jobs for "coverage" and "additional warnings" if the main ci build works and use its generated tarball in both cases * trigger MSYS1 build, passing the run-id (needs to be adjusted to a "pull" later * msys1+ubuntu: * use "build" instead of "_build" * upload config.log after the build - because we may need it to debug build issues * always upload the testsuite.log (additional build documentation) * msys1: * GMP url changes, building it again for performance reasons * building BDB with all relevant patches from MSYS2 * using msys-build instead of building Bison (only necessary for GC4) * drop GC install log step and therefore extra prefix * drop extra CFLAGS previously necessary for local cJSON (fixed in 3.x) and/or ignoring failing NIST) --> as after last upstream update everything works * enable NIST85 (+ comment-code in case we ever need to skip something there and/or ignoring failing NIST) --> as after last upstream update everything works * ci cache adjustment: * remove split per matrix * split per software, enabling smaller updates * use CI tarball like for the minimal build * drop workflow specific expected failures that now work fine * move env to MSYS job
07633f9
to
8647bca
Compare
That might be a good idea. But considering you already went through the struggle, might as well keep it as you made it. |
I think I'll give that a shot soonTM, maybe its as easy as I've thought :-) |
It would be really good to know which of those tests hang under MSYS2. While CI runs take longer that way it could be reasonable doing an explicit |
use "build" instead of "_build"dropped to stay with OCamlPro standardskipping extra IF106A as this hangs, ignoring failing NIST for nowdropped, as upstream fixed that