-
Notifications
You must be signed in to change notification settings - Fork 24
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
CI adjustments for gcos4gnucobol-3.x
#170
CI adjustments for gcos4gnucobol-3.x
#170
Conversation
nberth
commented
Aug 20, 2024
•
edited
Loading
edited
- Upgrade versions of github actions (some are being deprecated);
- Perform tests before install when doing the opposite is not very well justified.
95fac22
to
a3a41fd
Compare
@ddeclerck @GitMensch Some Windows workflows appear to hang during tests (but not always). Do you know if that's an "expected" state of affairs? |
Yeah, this is a known problem with MSVC Debug targets. Under a proper machine with a GUI you'd get a warning in a popup window, but in a CI, without a GUI, it just hangs. It was working before though. Now it gets stuck on |
5428588
to
19a292b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the changes done: LGTM; we may want to add some more pieces though - see review comments.
Oh, and one general thing - to be easier to review failures, please use, after make check a |
b6f5fc5
to
e840ede
Compare
ci changes from #172 should go in here as well |
For @nberth: it just amounts to removing the whole "Adjust testsuite for Debug target" step in MSVC workflows, and adding |
e840ede
to
4f5c747
Compare
4f5c747
to
5b90cd0
Compare
gcos4gnucobol-3.x
gcos4gnucobol-3.x
https://github.com/OCamlPro/gnucobol/actions/runs/10522831045/job/29156289216?pr=170#step:8:3908
|
fca48b2
to
879072b
Compare
Yes, and it wouldn't be reasonable to look for fixing all of those either.
and I'm looking to fix that upstream now. |
Just to share some finding which was new to me: bison generates code like the following: case 3291: /* _dot_or_else_area_a: "Identifier (Area A)" */
#line 20470 "../../cobc/parser.y"
{
/* No need to raise the error for *_IN_AREA_A tokens */
(void) cb_verify (cb_missing_period, _("optional period"));
cobc_repeat_last_token = 1;
}
#line 34469 "parser.c"
break; which is the reason that
the "computed" line number 20475 is the line from the generated code above #line 34469 "parser.c" and the message is because C89 only allows SHORT_MAX there:
The only way to get around that would be to move ~2000 lines out of parser.y (reducing this huge file is a goal in general). The easiest way to get the 2000 lines out is to move nearly everything in Note that GnuCOBOL generated functions can easily get > 100.000 LOC, so this may raise additional compatibility issues with generated sources on ancient environments. |
Slipping in a |
After several adjustments there
and these are not depending on libcob has only a This project did help me to understand why we had - but only in one place - a "split memcpy" generation to 509 bytes - that is because since C89 there is only the guarantee for strings supported with this size. and just FYI: json.h uses variadic macros, so for those environments above cjson.h is a necessary falback. I also added some testcases for previous untested scenarios in that area and should commit that until Sunday ( The split of parser.y is planned since at least 2020 - https://sourceforge.net/p/gnucobol/feature-requests/371 and a user report of
on HP-UX. |
Ok I just did. The parts on |
0913c14
to
5112b73
Compare
Note: https://www.itl.nist.gov/div897/ctg/suites/newcob.val.Z does not seem available anymore.
5112b73
to
77522f5
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Seems to be an open issue on V4 of upload-artifact. Cf actions/upload-artifact#485 |
3057e5e
to
7dcd610
Compare
7dcd610
to
e31b1ad
Compare
This is fine so I pull that in. Note that the new failure is because of C++ comments which will be fixed with my changes that are current "under work" (which will also fix most of C89 pedantic). |