Make work stack-9.2.1.yaml and enable pedantic (-WError) for cabal #2606
Make work stack-9.2.1.yaml and enable pedantic (-WError) for cabal #2606mergify[bot] merged 54 commits intohaskell:masterfrom
pedantic (-WError) for cabal #2606Conversation
|
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.
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.
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)? |
pedanticfor the hls packahe so i had to fix somewarnins infunc-test