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

ci: Build with GHC 9.6.4 and 9.8.1 via cabal #3177

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

wolfgangwalther
Copy link
Member

@wolfgangwalther wolfgangwalther commented Jan 21, 2024

Another go at what I already quickly tested in #3155 (comment). Let's see what CI says this time.

The first commit would also unblock #2275 (comment).

@wolfgangwalther wolfgangwalther force-pushed the update-ghc branch 2 times, most recently from 06bdbe6 to d5f8d12 Compare January 22, 2024 07:51
@wolfgangwalther
Copy link
Member Author

Still gotta figure 9.8, but it builds with GHC 9.6 fine now.

@wolfgangwalther wolfgangwalther force-pushed the update-ghc branch 5 times, most recently from a457f3e to 79d7411 Compare January 23, 2024 08:59
@wolfgangwalther
Copy link
Member Author

GHC 9.8.1 is building fine now, but cirrus/freebsd has been failing lately. Trying to fix that now by upgrading the freebsd image in cirrus.yml. Let's see.

@wolfgangwalther
Copy link
Member Author

FreeBSD is running again after upgrading the image to freebsd-14. Now trying whether that allows us to upgrade GHC / Stack on FreeBSD as well...

@wolfgangwalther
Copy link
Member Author

wolfgangwalther commented Jan 23, 2024

Looks like even on freebsd-14 the latest GHC version we can use is still GHC 9.4.5:

       No setup information found for ghc-9.6.4 on your platform. This probably means a GHC binary
       distribution has not yet been added for OS key freebsd64-ino64. Supported versions:
       ghc-8.4.3, ghc-8.4.4, ghc-8.6.2, ghc-8.6.3, ghc-8.6.4, ghc-8.6.5, ghc-8.8.1, ghc-8.8.2,
       ghc-8.8.3, ghc-8.8.4, ghc-8.10.3, ghc-8.10.4, ghc-8.10.6, ghc-8.10.7, ghc-9.0.2, ghc-9.2.5,
       ghc-9.2.6, ghc-9.2.7, ghc-9.2.8 and ghc-9.4.5.

Our changes to reduce memory usage have been merged and released
upstream, so no need for the fork anymore.
This confirms that building with GHC 9.6.x works already, even if we can't
switch to it for the nix and stack builds, yet.
@wolfgangwalther wolfgangwalther merged commit 3a639c7 into PostgREST:main Jan 25, 2024
33 checks passed
@wolfgangwalther wolfgangwalther deleted the update-ghc branch January 25, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant