Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Move to GitHub CI #1266

Merged
merged 9 commits into from
Dec 8, 2020
Merged

Conversation

alexbiehl
Copy link
Member

Right now this is a straight copy of @chshersh's blog post at https://kodimensional.dev/github-actions.

Will adapt to haddock in successive commits.

@alexbiehl alexbiehl merged commit 1dbbe6c into haskell:ghc-8.10 Dec 8, 2020
@alexbiehl alexbiehl deleted the alexbiehl/github-ci branch December 8, 2020 22:08
@chshersh
Copy link
Member

chshersh commented Dec 9, 2020

@alexbiehl I'm happy to see this config used in more places 🤗 I've been using it for than a year and it works perfectly for all my projects.

I'm currently in the process of updating the blog post to bring several improvements to the config. Nothing critical, only the following:

  • Move cabal configure before freeze for more reliable results
  • Build dependencies in a separate step
  • Update versions of all actions
  • Use the main branch by default

I haven't updated the blog post yet, but you can find the latest config in @kowainik GitHub Actions workflow templates:

@alexbiehl
Copy link
Member Author

Thanks again for your efforts. It's working great so far!

I guess it's unlikely, but do you happen to have an example in which you track GHC HEAD and head.hackage? The ghc-head branch requires us to use a) an unreleased GHC and b) head.hackage overlay to account for incompatible changes. Currently we heavily patch global cabal configuration to insert head.hackage. I want to streamline the process and it'd be great if there was prior art.

alexbiehl-gc pushed a commit to alexbiehl/haddock that referenced this pull request Dec 9, 2020
* Initial version of ci.yml

This is a straight copy from Dmitrii Kovanikov's blog post
at https://kodimensional.dev/github-actions.

Will adapt to haddock in successive commits.

* Delete .travis.yml

* Modify to only test on ghc-8.10.{1,2}

* Use actions/[email protected]

* Relax QuickCheck bound on haddock-api

* Remove stack matrix for now

* Nail down to ghc-8.10 branch for now

* Pin index state to 2020-12-08T20:13:44Z for now

* Disable macOS and Windows tests for now for speed up
@chshersh
Copy link
Member

chshersh commented Dec 9, 2020

@alexbiehl I'm afraid, I don't have an example of this 😞

I know, that the current actions/setup-haskell is going to be deprecated

It was temporary moved to haskell-ci/setup and I already see an issue there about GHC HEAD support:

But, AFAIU, the final official home for this action will be here:

I guess, you can comment under the GHC HEAD issue, tell that you would be interested as well, and ask it to move to haskell/actions to remember about it 🙂

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

Successfully merging this pull request may close these issues.

2 participants