-
Notifications
You must be signed in to change notification settings - Fork 76
GitHub: use ghcup as default (rather than hvr-ppa)
#685
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
Conversation
ghcup as default (rather than hvr-ppa)
|
Hang on, 7.10.3 does not work reliably if installed by GHCup, it seems: https://github.com/MarcWeber/hasktags/actions/runs/6493491391/job/17634546377#step:17:175 So, should prefer |
This commit makes `haskell-ci github` prefer the `ghcup` installation method over the `hvr-ppa` method for all GHC versions that are properly supported by `ghcup`. (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.) Previously, `hvr-ppa` was the default for all versions it supported.
150dec3 to
c476095
Compare
|
Now only prefers Sample run: https://github.com/MarcWeber/hasktags/actions/runs/6493772691/ |
|
This seems to be caused by upstream https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2039411? Until that bug is resolved (either fixed or closed with wontfix), I won't do anything. Especially if it's not fixed, I'd probably just drop pre bionic and GHC-8 support from |
|
One gets the behavior of this PR by adding to each of one's To spare me from this, I added the present PR to my fork: https://github.com/andreasabel/haskell-ci In general, is there a drawback to preferring |
Don't think so. Ubuntu is a first class citizen in ghcup. If there's an issue with bindists on ubuntu, it will be fixed. The PPA gives some more flexibility about what files exactly to install (there's more than one package), but other than that, I don't think there's any CI advantage. |
|
This might also help fix #729 |
|
FYI: My fork https://github.com/andreasabel/haskell-ci uses |
|
Due to restructuring of |
Motivation: recently, I am getting many failures of CI due to failure of installing GHC from
hvr-ppa.E.g.: https://github.com/MarcWeber/hasktags/actions/runs/6487255991/job/17617157111#step:3:420
Also, the
hvr-ppais no longer maintained and it does not look like it will come back.This PR changes the default installation method from
hvr-ppatoghcupfor the versions supported byghcup.Commits:
hvr-ppatoghcup