Skip to content

Commit

Permalink
Support GHC 9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjaguarpaw committed Sep 19, 2024
1 parent 71897e1 commit e01d9cb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- "8.10.7"
- "9.0.2"
- "9.2.4"
- "9.4.8"
exclude:
- os: macOS-latest
ghc: 8.10.7
Expand All @@ -45,6 +46,17 @@ jobs:
- os: windows-latest
ghc: 8.4.4

# On Windows 9.4 we get the following, so disabling
# it for now.
#
# ghc-9.4.8.exe: C:\sr\ghc-9.4.8\hashable-1.4.7.0-30c04c59e98d75fc2789d517f4b0591876c2983e\lib\libHShashable-1.4.7.0-30c04c59e98d75fc2789d517f4b0591876c2983e.a(#5:FFI.o): Not a x86_64 PE+ file.
# ghc-9.4.8.exe: Unknown COFF 4 type in getHeaderInfo.
#
# <no location info>: error:
# loadArchive "C:\\sr\\ghc-9.4.8\\hashable-1.4.7.0-30c04c59e98d75fc2789d517f4b0591876c2983e\\lib\\libHShashable-1.4.7.0-30c04c59e98d75fc2789d517f4b0591876c2983e.a": failed
- os: windows-latest
ghc: 9.4.8

steps:
- uses: actions/checkout@v3

Expand Down
8 changes: 4 additions & 4 deletions summoner-cli/summoner.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ source-repository head
location: git@github.com:kowainik/summoner.git

common common-options
build-depends: base >= 4.11 && < 4.17
, relude >= 1.0.0.0 && < 1.2
build-depends: base >= 4.11 && < 4.18
, relude >= 1.0.0.0 && < 1.3

mixins: base hiding (Prelude)
, relude (Relude as Prelude)
Expand Down Expand Up @@ -149,15 +149,15 @@ library
build-depends: colourista ^>= 0.1.0.1
, directory ^>= 1.3.0.2
, filepath ^>= 1.4.1.2
, generic-data >= 0.8.0.0 && < 0.10
, generic-data >= 0.8.0.0 && < 1.1
, gitrev ^>= 1.3.1
, microaeson ^>= 0.1.0.0
, optparse-applicative >= 0.16 && < 0.18
, process ^>= 1.6.1.0
, shellmet ^>= 0.0.3.0
, time >= 1.8 && < 1.14
, tomland ^>= 1.3.0.0
, validation-selective ^>= 0.1.0.0
, validation-selective >= 0.1.0.0 && < 0.3

executable summon
import: common-options, exe-options
Expand Down
6 changes: 3 additions & 3 deletions summoner-tui/summoner-tui.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ source-repository head
location: git@github.com:kowainik/summoner.git

common common-options
build-depends: base >= 4.11 && < 4.17
, relude >= 1.0.0.0 && < 1.2
build-depends: base >= 4.11 && < 4.18
, relude >= 1.0.0.0 && < 1.3

mixins: base hiding (Prelude)
, relude (Relude as Prelude)
Expand Down Expand Up @@ -87,7 +87,7 @@ library
, microlens ^>= 0.4
, microlens-th ^>= 0.4
, summoner ^>= 2.0.0.0
, validation-selective >= 0.0.0.0 && < 0.2
, validation-selective >= 0.0.0.0 && < 0.3
, vty >= 5.36 && < 5.38

executable summon-tui
Expand Down

0 comments on commit e01d9cb

Please sign in to comment.