Skip to content

Build with GHC9.8 and proto3-suite 0.9.3 - #170

Merged
ixmatus merged 11 commits into
masterfrom
tomas/ghc98
Jul 9, 2025
Merged

Build with GHC9.8 and proto3-suite 0.9.3#170
ixmatus merged 11 commits into
masterfrom
tomas/ghc98

Conversation

@tm-drtina

Copy link
Copy Markdown
Contributor

No description provided.

@tm-drtina

Copy link
Copy Markdown
Contributor Author

The CI jobs could probably run in parallel for different GHCs if we even want to keep building for multiple GHCs in CI

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread core/grpc-haskell-core.cabal Outdated
, containers >= 0.5 && < 0.7
, managed >= 1.0.0 && < 1.1
, template-haskell >= 2.16.0 && < 2.21
, template-haskell >= 2.16.0 && < 2.22

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

s/&& < 2.22/&& < 2.24

Comment thread core/grpc-haskell-core.cabal Outdated
default-language: Haskell2010
ghc-options: -Wall -Werror -fwarn-incomplete-patterns -fno-warn-unused-do-bind
if impl(ghc >= 9.8)
ghc-options: -Wno-x-partial

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I believe you want impl(ghc >= 9.8) && impl(ghc < 9.8.3) (or maybe impl(ghc >= 9.8 && ghc < 9.8.3)? I'm not sure how you cabal's syntax has you write it, but the bug this flag is guarding against had it's fix merged to GHC 9.8.3).

See: https://gitlab.haskell.org/ghc/ghc/-/issues/24322

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Comment thread core/grpc-haskell-core.cabal Outdated
default-language: Haskell2010
ghc-options: -Wall -Werror -fwarn-incomplete-patterns -fno-warn-unused-do-bind -g -threaded -rtsopts
if impl(ghc >= 9.8)
ghc-options: -Wno-x-partial

@riz0id riz0id Jul 3, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This should be moved to a common stanza, and then imported into each top-level stanza since it's silencing a warning that certain versions of GHC are emitting, but shouldn't be.

@ixmatus

ixmatus commented Jul 9, 2025

Copy link
Copy Markdown
Contributor

Overriding merge since the builds do pass (but we need this to run on main in order for github to offer these builds for the branch protection rules in settings).

[EDIT] waiting for @riz0id and @tm-drtina to tell me to merge.

@ixmatus
ixmatus merged commit ddf0216 into master Jul 9, 2025
4 checks passed
@ixmatus
ixmatus deleted the tomas/ghc98 branch July 9, 2025 19:29
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.

4 participants