Skip to content

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
Copy link
Member Author

@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