Skip to content
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

Test CI for ghc-head #1084

Closed
wants to merge 2 commits into from
Closed

Test CI for ghc-head #1084

wants to merge 2 commits into from

Conversation

rnjtranjan
Copy link
Collaborator

No description provided.

@rnjtranjan rnjtranjan marked this pull request as draft June 6, 2021 10:14
@adithyaov
Copy link
Member

Looks like ghcup cannot find head.
Does ghcup install ghc head work?
Can you check the available versions by using ghcup list

@adithyaov
Copy link
Member

Both the following fail:

sudo -- sh -c apt-get -y install ghc-head
ghcup install ghc head

One of them should succeed.

@adithyaov
Copy link
Member

adithyaov commented Jun 11, 2021

ghc-head is available in HVR PPA

sudo add-apt-repository ppa:hvr/ghc
sudo apt-get update

Does packcheck update the ppa?

@harendra-kumar
Copy link
Member

ghc-head is available in HVR PPA

I used to run ghc-head CIs earlier. In fact we have an example in packcheck/travis config:

  #- env: BUILD=cabal-v2 GHCVER=head
  #  addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}

@rnjtranjan
Copy link
Collaborator Author

ghcup list does not list "ghc head".

- name: 8.10.2+macOS
ghc_version: 8.10.2
- name: ghc_HEAD
ghc_version: head
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try "base-4.16.0.0" instead of "head"? You will have to remove the GHCVER env var line in the env section above, other wise packcheck will fail because the ghc version is not actually base-4.16.0.0.

Copy link
Member

@harendra-kumar harendra-kumar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the ghc version to 9.2 instead of 9.2.0. ghcup does not install if specified as 9.2.0.

@harendra-kumar
Copy link
Member

Let us install ghc via packcheck itself - composewell/packcheck#67 . It should be easy.

@harendra-kumar
Copy link
Member

For now we can skip using haskell/actions/setup@v1 in the ghc head test and install it manually (using ghcup install ghc) in the script section before calling packcheck.

@harendra-kumar
Copy link
Member

harendra-kumar commented Jan 27, 2022

Added in #1429 . Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants