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

WIP: cpphs dogfood #20

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

WIP: cpphs dogfood #20

wants to merge 13 commits into from

Conversation

andreasabel
Copy link
Member

@andreasabel andreasabel commented Apr 30, 2023

This PR adds a number of workflows to test cpphs under Windows, using some TemplateHaskell.
Test extracted from Agda code base, motivated by:

Succeeds for Ubuntu w/ cabal (haskell-ci.yml) and these Windows configurations:

  1. cabal w/ GHC 8.10 (ghcup.yml & haskell-setup.yml)
  2. stack w/ non-ghcup-installed GHC >= 9 (stack.yml & stack-no-global.yml)
  3. stack w/ ghcup-installed GHC 8.10.7 (stack-ghcup.yml & setup-ghcup-stack.yml)

Fails for:

  1. cabal w/ GHC >= 9
  2. stack w/ non-ghcup-installed GHC 8.10
  3. stack w/ ghcup-installed GHC >= 9

@andreasabel andreasabel marked this pull request as draft April 30, 2023 22:48
andreasabel added a commit to agda/agda that referenced this pull request May 1, 2023
Haskell's `cpphs` has not been actively maintained since 2020 and does
not work correctly under Windows in some setups.

  hackage-trustees/malcolm-wallace-universe#20

Starting 2018 we have not been building with `cpphs` by default, but with
the system CPP; no problems have been reported since then.
Then, we already discussed removing cpphs entirely.

  #3223

I think we can go through with it now.
andreasabel added a commit to agda/agda that referenced this pull request May 2, 2023
Haskell's `cpphs` has not been actively maintained since 2020 and does
not work correctly under Windows in some setups.

  hackage-trustees/malcolm-wallace-universe#20

Starting 2018 we have not been building with `cpphs` by default, but with
the system CPP; no problems have been reported since then.
Then, we already discussed removing cpphs entirely.

  #3223

I think we can go through with it now.
JobPetrovcic pushed a commit to JobPetrovcic/agda that referenced this pull request Apr 12, 2024
Haskell's `cpphs` has not been actively maintained since 2020 and does
not work correctly under Windows in some setups.

  hackage-trustees/malcolm-wallace-universe#20

Starting 2018 we have not been building with `cpphs` by default, but with
the system CPP; no problems have been reported since then.
Then, we already discussed removing cpphs entirely.

  agda#3223

I think we can go through with it now.
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.

1 participant