-
Notifications
You must be signed in to change notification settings - Fork 178
Fix release CI job #936
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
Fix release CI job #936
Conversation
Apparently `pattern: *` is not valid syntax. I think we can do without patterns because we want to publish all artifacts anyway.
Why not make amalgation a Makefile target so it can be tested on our local machines ? CI would just invoke |
Agree on the Makefilw target. The whole point of the amalgamated build is to have just one C and one header file so yes they'll be part of the C file, except quickjs.h. |
No particular reason. Pull request welcome.
Deliberate design decision mentioned in the linked issue. An amalgamated build's key selling point is that it's easy. Drop in file, compile, done; no fudging with include paths, or other onerous make-work. |
I am well aware that an amalgamated build is a single file (or possibly 2 files including a header file). My point is the token header files included are duplicated in the amalgamated source file: each |
Seems like complicating things for no practical gain. s/sloppy/straightforward/ |
Yes, I agree it is no big deal. Another issue is more problematic: the internal APIs from cutils.c and other utility functions should be made This could be done using the preprocessor with a A cleaner solution would require a more elaborate concatenator that would add the |
Good point. Tracking in #940. |
Apparently
pattern: *
is not valid syntax. I think we can do without patterns because we want to publish all artifacts anyway.Gleaned from https://github.com/actions/download-artifact/blob/main/README.md#download-all-artifacts