Skip to content

Commit

Permalink
ghc-9.6.3 and support for ghc-9.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
larskuhtz committed Oct 10, 2023
1 parent 3555e3a commit 7e71a75
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ jobs:
run: |
MATRIX="$(jq -c '.' <<EOF
{
"ghc": ["9.6.2"],
"ghc": ["9.6.3", "9.8.1"],
"cabal": ["3.10"],
"os": ["ubuntu-20.04", "ubuntu-22.04"],
"use-freeze-file": ["false"],
"include": [
{
"ghc": "9.6.2",
"ghc": "9.6.3",
"cabal": "3.10",
"os" : "ubuntu-20.04",
"use-freeze-file": "true"
Expand Down Expand Up @@ -623,10 +623,10 @@ jobs:
# when adding more than one build, use a different package name or
# different tags
include:
- ghc: "9.6.2"
- ghc: "9.6.3"
os: "ubuntu-20.04"
use-freeze-file: "false"
- ghc: "9.6.2"
- ghc: "9.6.3"
os: "ubuntu-20.04"
use-freeze-file: "true"
env:
Expand Down
23 changes: 22 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ package chainweb
tests: True
benchmarks: True

if impl(ghc >= 9.8.1)
package chainweb
ghc-options: -Wno-x-partial

package pact
ghc-options: -Wwarn
optimization: True
Expand Down Expand Up @@ -145,9 +149,26 @@ allow-newer: servant:*
-- These packages are tightly bound to the GHC version and these
-- settings ensure that we use the versions that are shipped with the
-- GHC version that we are using.
allow-newer: *:Cabal
allow-newer: *:array
allow-newer: *:base
allow-newer: *:tempalte-haskell
allow-newer: *:bytestring
allow-newer: *:containers
allow-newer: *:deepseq
allow-newer: *:directory
allow-newer: *:exceptions
allow-newer: *:ghc-compact
allow-newer: *:ghc-prim
allow-newer: *:integer-gmp
allow-newer: *:mtl
allow-newer: *:parsec
allow-newer: *:pretty
allow-newer: *:process
allow-newer: *:stm
allow-newer: *:template-haskell
allow-newer: *:text
allow-newer: *:time
allow-newer: *:transformers

-- Pact uses a vendored version of trifecta that has outdated
-- upper bounds
Expand Down
Loading

0 comments on commit 7e71a75

Please sign in to comment.