-
Notifications
You must be signed in to change notification settings - Fork 3
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
Build a separate print-api
executable for each supported GHC versions
#16
Conversation
@mmhat Hi! Thank you so much for your involvement in Could you please update the release action to produce binaries for the wrapper as well? One per OS/Arch will be enough. :) |
@Kleidukos Ok, there is only one issue left with the packaging: The binaries in EDIT: Oh forgetful me, we run |
@mmhat Yes sorry, I was confused too at first but never wrote anything down about it in the repository. |
@Kleidukos Also, here are some quick remarks (not sure which of those should be an own issue or part of this PR):
I left a comment right above the |
Ok, I also updated the documentation 👍 |
You're talking about the Tests and Release pipelines? If you find a way to do that, yes certainly, although perhaps in the future we'll want the test pipeline to go faster and the release pipeline to do more things, so if they can be kept modular that would be grand. :)
There is room indeed.
That's a good thing, yes.
Yes
No I believe that is a job that is best left to ghcup. Otherwise a proper message that asks the user to get the correct binary will suffice.
Do you have something clearer in mind? I could be interested. :) |
@mmhat You removed the nightly release mechanism from the CI, which is not quite what I expected from this PR |
... which is not quiet what I intended either 🙃 Just to clarify that we are talking about the same thing: By "nightly release" you mean the |
@Kleidukos You may have noticed that a lot of lines changed with no apparent reason. I did that because I wanted to know what the actual differences between the Regarding the workflow artifacts a.k.a nightly release: Regarding the removal of the release job in the ci.yml: I hope that sheds some light on the changes in that PR... |
I had nothing less in mind 🙂
To me that looks like as if it could one workflow with just some run conditions for the release job and a conditional build matrix.
I totally; Just wanted to point out the options here.
Nothing specific yet; Essentially I want a |
Yes I am talking about the -head releases :) |
Ah, it appears I messed up the |
Hmm, can't we do something that integrates with https://flora.pm/packages/@hackage/tasty-golden already? |
Can you open an issue with a short description how the workflows should work? Maybe I'll find the time to fix that too. Also, I noted that the workflows in the get-tested seem to be identical (I just had a quick look, so I might be wrong). Should those be changed to? |
Maybe; I don't know (yet). It was just an idea while I was working on this PR. |
7ca797c
to
e9e7cf7
Compare
@Kleidukos I improved the |
@mmhat yes, two things:
|
The `print-api` executable is a simple wrapper that detects the used GHC version and calls the appropriate `print-api-VERSION` exectuable which does the actual work.
No problem.
I added the pre-release job as it is currently in the |
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.
Thank you for your patience @mmhat. This is a valuable contribution. These are my last remarks. If something was noticed in one workflow file it's also valid for the other.
@Kleidukos The diff of the workflow files should be much smaller now.
|
Then, the
print-api
executable is a simple wrapper that detects the used GHC version and calls the appropriateprint-api-VERSION
exectuable which does the actual work.The following works (inside the
print-api
source tree):I also checked in a
install-for-ghcup-compilers.sh
Bash script that installs the executable for all GHCs currently installed by ghcup.I think this unblocks #13 to some degree, doesn't it?
Also: This tool is awesome! Thanks for writing it!