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

Support GHC 9.2 #1717

Merged
merged 10 commits into from
Mar 16, 2023
Prev Previous commit
Next Next commit
CI: Test GHC 9.2.7, drop 9.0.2
RyanGlScott committed Mar 16, 2023
commit f68e0b9db3a5eaddbeeeb8dd95ea83aae08e8ac0
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -68,9 +68,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-12, windows-latest]
ghc: ["8.8.4", "8.10.7", "9.0.2"]
ghc: ["8.8.4", "8.10.7", "9.2.7"]
run-tests: [true]
include:
# We include one job from an older Ubuntu LTS release to increase our
# coverage of possible Linux configurations. Since we already run the
# tests with the newest LTS release, we won't bother testing this one.
- os: ubuntu-20.04
ghc: "8.10.7"
run-tests: false
@@ -83,12 +86,6 @@ jobs:
- os: windows-latest
ghc: "8.8.4"
run-tests: true
# Exclude 9.0 on Windows for now until
# https://github.com/commercialhaskell/stackage/issues/6400
# is resolved
- os: windows-latest
ghc: "9.0.2"
run-tests: false
outputs:
cabal-test-suites-json: ${{ steps.cabal-test-suites.outputs.targets-json }}
steps:
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ To build SAWScript and related utilities from source:
* Ensure that you have the `cabal` and `ghc` executables in your
`PATH`. If you don't already have them, we recommend using `ghcup`
to install them: <https://www.haskell.org/ghcup/>. We recommend
Cabal 3.4 or newer, and GHC 8.8, 8.10, 9.0, or 9.2.
Cabal 3.4 or newer, and GHC 8.8, 8.10, or 9.2.

* Ensure that you have the C libraries and header files for
`terminfo`, which generally comes as part of `ncurses` on most
38 changes: 19 additions & 19 deletions cabal.GHC-9.0.2.config → cabal.GHC-9.2.7.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
active-repositories: hackage.haskell.org:merge
constraints: any.Cabal ==3.4.1.0,
constraints: any.Cabal ==3.6.3.0,
any.Glob ==0.10.2,
any.GraphSCC ==1.0.4,
GraphSCC -use-maps,
@@ -36,7 +36,7 @@ constraints: any.Cabal ==3.4.1.0,
attoparsec -developer,
any.auto-update ==0.1.6,
any.barbies ==2.0.4.0,
any.base ==4.15.1.0,
any.base ==4.16.4.0,
any.base-compat ==0.12.2,
any.base-compat-batteries ==0.12.2,
any.base-orphans ==0.8.8.2,
@@ -46,7 +46,7 @@ constraints: any.Cabal ==3.4.1.0,
any.bifunctors ==5.5.15,
bifunctors +semigroups +tagged,
any.bimap ==0.5.0,
any.binary ==0.8.8.0,
any.binary ==0.8.9.0,
any.binary-orphans ==1.0.4.1,
any.bitvec ==1.1.3.0,
bitvec -libgmp,
@@ -58,7 +58,7 @@ constraints: any.Cabal ==3.4.1.0,
any.bsb-http-chunked ==0.0.0.4,
any.bv-sized ==1.0.5,
any.byteorder ==1.0.4,
any.bytestring ==0.10.12.1,
any.bytestring ==0.11.4.0,
any.cabal-doctest ==1.0.9,
any.call-stack ==0.4.0,
any.case-insensitive ==1.2.1.0,
@@ -81,7 +81,7 @@ constraints: any.Cabal ==3.4.1.0,
any.config-schema ==1.3.0.0,
any.config-value ==0.8.3,
any.constraints ==0.13.4,
any.containers ==0.6.4.1,
any.containers ==0.6.5.1,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
any.cookie ==0.4.6,
@@ -104,7 +104,7 @@ constraints: any.Cabal ==3.4.1.0,
any.data-fix ==0.3.2,
any.data-inttrie ==0.1.4,
any.data-ref ==0.1,
any.deepseq ==1.4.5.0,
any.deepseq ==1.4.6.1,
any.dense-linear-algebra ==0.1.0.0,
any.deriving-compat ==0.6.3,
deriving-compat +base-4-9 +new-functor-classes +template-haskell-2-11,
@@ -132,7 +132,7 @@ constraints: any.Cabal ==3.4.1.0,
any.fgl-visualize ==0.1.0.1,
any.filelock ==0.1.1.5,
any.filemanip ==0.3.6.3,
any.filepath ==1.4.2.1,
any.filepath ==1.4.2.2,
any.fingertree ==0.1.5.0,
any.free ==5.1.10,
any.generic-deriving ==1.14.3,
@@ -141,14 +141,14 @@ constraints: any.Cabal ==3.4.1.0,
any.generic-lens-core ==2.2.1.0,
any.generic-random ==1.5.0.1,
generic-random -enable-inspect,
any.ghc ==9.0.2,
any.ghc-bignum ==1.1,
any.ghc-boot ==9.0.2,
any.ghc-boot-th ==9.0.2,
any.ghc-heap ==9.0.2,
any.ghc ==9.2.7,
any.ghc-bignum ==1.2,
any.ghc-boot ==9.2.7,
any.ghc-boot-th ==9.2.7,
any.ghc-heap ==9.2.7,
any.ghc-paths ==0.1.0.12,
any.ghc-prim ==0.7.0,
any.ghci ==9.0.2,
any.ghc-prim ==0.8.0,
any.ghci ==9.2.7,
any.githash ==0.1.6.3,
any.gitrev ==1.3.1,
any.graphviz ==2999.20.1.0,
@@ -252,7 +252,7 @@ constraints: any.Cabal ==3.4.1.0,
any.panic ==0.4.0.1,
any.parallel ==3.2.2.0,
parameterized-utils +unsafe-operations,
any.parsec ==3.1.14.0,
any.parsec ==3.1.15.0,
any.parser-combinators ==1.3.0,
parser-combinators -dev,
any.pem ==0.2.4,
@@ -264,7 +264,7 @@ constraints: any.Cabal ==3.4.1.0,
prettyprinter -buildreadme +text,
any.prettyprinter-ansi-terminal ==1.1.3,
any.primitive ==0.7.4.0,
any.process ==1.6.13.2,
any.process ==1.6.16.0,
any.profunctors ==5.6.2,
any.psqueues ==0.2.7.3,
any.quickcheck-instances ==0.3.29.1,
@@ -308,7 +308,7 @@ constraints: any.Cabal ==3.4.1.0,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.statistics ==0.16.1.2,
any.stm ==2.5.0.0,
any.stm ==2.5.0.2,
any.streaming-commons ==0.2.2.5,
streaming-commons -use-bytestring-builder,
any.strict ==0.4.0.1,
@@ -331,7 +331,7 @@ constraints: any.Cabal ==3.4.1.0,
any.tasty-quickcheck ==0.10.2,
any.tasty-smallcheck ==0.8.2,
any.tasty-sugar ==1.3.0.2,
any.template-haskell ==2.17.0.0,
any.template-haskell ==2.18.0.0,
any.temporary ==1.3,
any.terminal-size ==0.3.3,
any.terminfo ==0.4.1.5,
@@ -352,7 +352,7 @@ constraints: any.Cabal ==3.4.1.0,
any.th-reify-many ==0.1.10,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.9.3,
any.time ==1.11.1.1,
any.time-compat ==1.9.6.1,
time-compat -old-locale,
any.time-manager ==0.0.0,