Skip to content

Commit

Permalink
Merge pull request #58 from NicolasT/ghc-9.8
Browse files Browse the repository at this point in the history
landlock, psx: support GHC 9.8.2 / `base ^>=4.19`
  • Loading branch information
NicolasT authored Mar 31, 2024
2 parents 05878a6 + 1f222fc commit fbd8bef
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
strategy:
matrix:
include:
- compiler: ghc-9.8.2
compilerKind: ghc
compilerVersion: 9.8.2
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.6.4
compilerKind: ghc
compilerVersion: 9.6.4
Expand Down
1 change: 1 addition & 0 deletions landlock/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Update Cabal file formatting
* Support GHC 9.6.4 / `base ^>=4.18`
* Support GHC 9.8.2 / `base ^>=4.19`

## 0.2.1.1 -- 2023-02-28

Expand Down
22 changes: 14 additions & 8 deletions landlock/landlock.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@ extra-source-files:
cbits/linux/landlock.h

tested-with:
GHC ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.2 || ==9.6.1 || ==9.6.4
GHC ==8.10.7
|| ==9.0.2
|| ==9.2.4
|| ==9.4.2
|| ==9.6.1
|| ==9.6.4
|| ==9.8.2

source-repository head
type: git
Expand Down Expand Up @@ -77,7 +83,7 @@ library
import: common-settings
exposed-modules: System.Landlock
build-depends:
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, exceptions ^>=0.10.4
, landlock-internal
, unix ^>=2.7.2.2 || ^>=2.8
Expand All @@ -100,7 +106,7 @@ library landlock-internal
include-dirs: cbits
c-sources: cbits/hs-landlock.c
build-depends:
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, exceptions ^>=0.10.4
, psx ^>=0.1
, unix ^>=2.7.2.2 || ^>=2.8
Expand Down Expand Up @@ -129,7 +135,7 @@ executable landlocked
autogen-modules: Paths_landlock
hs-source-dirs: bin
build-depends:
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, exceptions ^>=0.10.4
, landlock
, optparse-applicative ^>=0.16.1.0 || ^>=0.17
Expand All @@ -143,7 +149,7 @@ test-suite landlock-test
other-modules: ThreadedScenario
build-depends:
, async ^>=2.2.3
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, filepath ^>=1.4.2.1
, landlock
, landlock-internal
Expand All @@ -169,7 +175,7 @@ test-suite landlock-test-threaded
other-modules: ThreadedScenario
build-depends:
, async ^>=2.2.3
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, landlock
, tasty ^>=1.4.1
, tasty-hunit ^>=0.10.0.3
Expand All @@ -184,7 +190,7 @@ test-suite landlock-readme
other-modules: ReadmeUtils
hs-source-dirs: . test
build-depends:
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, directory ^>=1.3.6.0
, filepath ^>=1.4.2.1
, landlock
Expand All @@ -204,7 +210,7 @@ test-suite landlocked-test
hs-source-dirs: test
main-is: landlocked-test.hs
build-depends:
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, filepath ^>=1.4.2.1
, process ^>=1.6.9.0
, tasty ^>=1.4.1
Expand Down
3 changes: 2 additions & 1 deletion psx/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
## 0.1.2.0 -- YYYY-MM-DD

* Update Cabal file formatting
* Support GHC 9.6.4 / `base ^>=4.18`
* Support GHC 9.6.4 / `base ^>=4.18`
* Support GHC 9.8.2 / `base ^>=4.19`

## 0.1.1.1 -- 2023-02-28

Expand Down
16 changes: 11 additions & 5 deletions psx/psx.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ extra-source-files:
test/detect-psx.h

tested-with:
GHC ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.2 || ==9.6.1 || ==9.6.4
GHC ==8.10.7
|| ==9.0.2
|| ==9.2.4
|| ==9.4.2
|| ==9.6.1
|| ==9.6.4
|| ==9.8.2

source-repository head
type: git
Expand Down Expand Up @@ -86,7 +92,7 @@ library
-- restrict compatibility with said GHC version(s).
exposed-modules: System.PSX
hs-source-dirs: src
build-depends: base >=4.14.2.0 && <4.19
build-depends: base >=4.14.2.0 && <4.20
include-dirs: cbits
install-includes: hs-psx.h
c-sources: cbits/hs-psx.c
Expand All @@ -110,7 +116,7 @@ test-suite psx-test-threaded
include-dirs: test
build-depends:
, async ^>=2.2.3
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, psx
, tasty ^>=1.4.1
, tasty-hunit ^>=0.10.0.3
Expand All @@ -128,7 +134,7 @@ test-suite psx-test
include-dirs: test
build-depends:
, async ^>=2.2.3
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, psx
, tasty ^>=1.4.1
, tasty-hunit ^>=0.10.0.3
Expand All @@ -143,7 +149,7 @@ test-suite psx-test-no-psx
c-sources: test/detect-psx.c
include-dirs: test cbits
build-depends:
, base >=4.14.2.0 && <4.19
, base >=4.14.2.0 && <4.20
, tasty ^>=1.4.1
, tasty-hunit ^>=0.10.0.3

Expand Down

0 comments on commit fbd8bef

Please sign in to comment.