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

Generate a more complete CI using haskell-ci #1006

Closed
wants to merge 5 commits into from
Closed

Conversation

andreasabel
Copy link
Member

@andreasabel andreasabel commented Feb 13, 2022

This PR contributes an alternative CI that is built with haskell-ci plus some postprocessing via patch.

The patching works around the following limitations of haskell-ci github:

  1. Installing extra ubuntu libraries (in this case libbrotli-dev)
  2. Activating a haddock step via option (--haddock). A haddock step is currently only added for library packages.

The hope with a haskell-ci generated CI would be that it is easier upgradable (by upgrading haskell-ci, rather than tinkering with the workflow). It might also be more robust.

But I am not sure if this PR is an overall improvement of the status quo; there are also drawbacks, like extra indirection.

Maybe this PR shouldn't be merged right now, but might be come in handy in the future...

(If merged, then please squash.)

- name: apt
run: |
apt-get update
+ apt-get install -y --no-install-recommends libbrotli-dev
Copy link
Contributor

Choose a reason for hiding this comment

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

% haskell-ci --help|grep apt
                    --ghcup-version VERSION | --apt PKG | 
  --apt PKG                Additional apt packages to install

@andreasabel andreasabel deleted the haskell-ci branch February 26, 2023 21:19
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.

2 participants