Skip to content

Commit

Permalink
Add CI support for GHC 9.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed May 8, 2023
1 parent af192d4 commit 95a8bf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ['9.4.4', '9.2.7', '9.0.2', '8.10.7', '8.8.4', '8.6.5']
ghc: ['9.6.1', '9.4.4', '9.2.7', '9.0.2', '8.10.7', '8.8.4', '8.6.5']
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion hie-bios.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Extra-Source-Files: ChangeLog.md
tests/projects/stack-with-yaml/stack-with-yaml.cabal
tests/projects/stack-with-yaml/src/Lib.hs

tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.4
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.4 || ==9.6.1

Library
Default-Language: Haskell2010
Expand Down
4 changes: 3 additions & 1 deletion tests/BiosTests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ stackYamlResolver =
#if (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(9,4,4,0)))
"nightly-2023-03-13" -- GHC 9.4.4
#elif (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(9,2,7,0)))
"lts-20.14" -- GHC 9.2.7
"lts-20.20" -- GHC 9.2.7
#elif (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(9,2,1,0)))
"lts-20.11" -- GHC 9.2.5
#elif (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(9,0,1,0)))
Expand Down Expand Up @@ -388,6 +388,8 @@ ignoreOnUnsupportedGhc :: TestTree -> TestTree
ignoreOnUnsupportedGhc tt =
#if (defined(MIN_VERSION_GLASGOW_HASKELL) && MIN_VERSION_GLASGOW_HASKELL(9,2,1,0) && !MIN_VERSION_GLASGOW_HASKELL(9,2,4,0))
ignoreTestBecause "Not supported on GHC >= 9.2.1 && < 9.2.4"
#elif (defined(MIN_VERSION_GLASGOW_HASKELL) && MIN_VERSION_GLASGOW_HASKELL(9,6,0,0))
ignoreTestBecause "No stackage snapshot for GHC 9.6 available, yet"
#endif
tt

0 comments on commit 95a8bf0

Please sign in to comment.