Add a reusable GitHub Action that installs MicroHs#336
Add a reusable GitHub Action that installs MicroHs#336sol wants to merge 1 commit intoaugustss:masterfrom
Conversation
|
I like the idea, but I have some issues with the execution of it. I've been planning to make a |
|
OK let's make sure that I understand you correctly. There are two steps:
Are you saying that Or is there also something related to this PR that you think should be done differently? |
|
OK, so I think you are saying we should package C bootstrap sources and not produce any binaries at all, right? How long does it take to compile the C sources + build the base libraries? Would that still give us any time savings on CI? |
OK from what I understand:
I assume all of these are platform independent. I agree that this is more suitable for distribution to a wider audience. I'm not opposed to that approach. I still observe that if you only care about (linux) CI use, then it does not really make a difference. If there is a significant speed difference between the two approaches, then I would argue that you could provide both, a fast non-portable way for CI use, and a slower but portable way for general consumption.
Makes sense ✅
I was about to say also compile, no? But, yes, it makes sense, you only compile the runtime with the final executable ✅ (That makes me puzzle whether we compiled the runtime system three times, once for each executable in the previous step? Or do we share object files?)
Here I'm a little bit lost. My naïve assumption would be that the What exactly does "having
The main effort here would be the install script, right? Or are there any other complications? |
This PR provides a GitHub Action to install a "nightly" build of MicroHs for CI use by third-party packages.
I also added instructions to the README on how to set up CI for a third-party package. I don't care about the exact wording so please feel free to change things as you see fit.