-
-
Notifications
You must be signed in to change notification settings - Fork 389
Make work stack-9.2.1.yaml and enable pedantic
(-WError
) for cabal
#2606
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
Conversation
stack build does not work anymore, since https://app.circleci.com/pipelines/github/jneira/haskell-language-server/1506/workflows/bf168e6e-0c8e-4784-95a1-c98d555c5358/jobs/12418 😢 |
6960a88
to
673c032
Compare
673c032
to
bee6145
Compare
I am trying to fix the build release workflow here and i am afraid we have a new dependency which needs integer-gmp. As we are building the binaries for linux with alpine where some ghcs are using integer-simple, the build fails:
afaics mod has no flag to switch to //cc @michaelpj @Bodigrim |
I suggest we leave the integer-simple issue for another PR since this is getting big. |
# we have to clean up warnings for 9.0 and 9.2 before enable -WAll | ||
- if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.1' | ||
name: Build with pedantic (-WError) | ||
run: cabal v2-build --flags="pedantic" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will rebuild everything, I think? do we want that? seems like it'll make the workflow slow. Maybe it's okay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only local packages (as --flags
only affect them), even the ones without the flag as we have one package in the root of the local dependency tree with the flag available
yeah i've already accumulated too many things here |
@michaelpj it is the pr ok to merge (ignoring fo now the release build failure)? |
pedantic
for the hls packahe so i had to fix somewarnins infunc-test