Support ghc-9.0.1 (#131)
This commit is contained in:
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
ghc: ["8.10.1", "8.8.1", "8.6.5", "8.6.4", "8.6.3", "8.6.2", "8.4.4", "8.2.2", "8.0.2"]
|
ghc: ["9.0.1", "8.10.1", "8.8.1", "8.6.5", "8.6.4", "8.6.3", "8.6.2", "8.4.4", "8.2.2", "8.0.2"]
|
||||||
cabal: ["3.0", "3.2"]
|
cabal: ["3.0", "3.2"]
|
||||||
env:
|
env:
|
||||||
CONFIG: "--enable-tests --enable-benchmarks"
|
CONFIG: "--enable-tests --enable-benchmarks"
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- compiler: ghc-9.0.1
|
||||||
|
allow-failure: false
|
||||||
- compiler: ghc-8.10.1
|
- compiler: ghc-8.10.1
|
||||||
allow-failure: false
|
allow-failure: false
|
||||||
- compiler: ghc-8.8.1
|
- compiler: ghc-8.8.1
|
||||||
|
|||||||
@@ -19,8 +19,9 @@ jobs:
|
|||||||
- { build: stack, resolver: "lts-12" } # ghc-8.4.4
|
- { build: stack, resolver: "lts-12" } # ghc-8.4.4
|
||||||
- { build: stack, resolver: "lts-13" } # redundant because lts-14 checks ghc-8.6 already
|
- { build: stack, resolver: "lts-13" } # redundant because lts-14 checks ghc-8.6 already
|
||||||
- { build: stack, resolver: "lts-14" } # ghc-8.6.5
|
- { build: stack, resolver: "lts-14" } # ghc-8.6.5
|
||||||
- { build: stack, resolver: "lts-15" } # ghc-8.8.2
|
- { build: stack, resolver: "lts-15" } # ghc-8.8.3
|
||||||
- { build: stack, resolver: "lts-16" } # ghc-8.10.1
|
- { build: stack, resolver: "lts-16" } # ghc-8.8.4
|
||||||
|
- { build: stack, resolver: "lts-17" } # ghc-8.10.4
|
||||||
# - { build: stack, resolver: "" }
|
# - { build: stack, resolver: "" }
|
||||||
# use this to include any dependencies from OS package managers
|
# use this to include any dependencies from OS package managers
|
||||||
include: []
|
include: []
|
||||||
|
|||||||
+3
-2
@@ -29,6 +29,7 @@ tested-with:
|
|||||||
|| ==8.6.1
|
|| ==8.6.1
|
||||||
|| ==8.8.1
|
|| ==8.8.1
|
||||||
|| ==8.10.1
|
|| ==8.10.1
|
||||||
|
|| ==9.0.1
|
||||||
|
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
README.md
|
README.md
|
||||||
@@ -77,11 +78,11 @@ library
|
|||||||
build-depends:
|
build-depends:
|
||||||
array >=0.4 && <0.6
|
array >=0.4 && <0.6
|
||||||
, async >=2.0 && <2.3
|
, async >=2.0 && <2.3
|
||||||
, base >=4.6 && <4.15
|
, base >=4.6 && <4.16
|
||||||
, bytestring >=0.10 && <0.11
|
, bytestring >=0.10 && <0.11
|
||||||
, containers >=0.5 && <0.7
|
, containers >=0.5 && <0.7
|
||||||
, deepseq >=1.3 && <1.5
|
, deepseq >=1.3 && <1.5
|
||||||
, ghc-prim >=0.3 && <0.7
|
, ghc-prim >=0.3 && <0.8
|
||||||
, hashable >=1.2 && <1.4
|
, hashable >=1.2 && <1.4
|
||||||
, mtl >=2.1 && <2.3
|
, mtl >=2.1 && <2.3
|
||||||
, mtl-compat >=0.2 && <0.3
|
, mtl-compat >=0.2 && <0.3
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ import GHC.Real as Base (
|
|||||||
, fromIntegral
|
, fromIntegral
|
||||||
, fromRational
|
, fromRational
|
||||||
, gcd
|
, gcd
|
||||||
#if MIN_VERSION_base(4,9,0)
|
#if MIN_VERSION_base(4,9,0) && !MIN_VERSION_base(4,15,0)
|
||||||
#if defined(MIN_VERSION_integer_gmp)
|
#if defined(MIN_VERSION_integer_gmp)
|
||||||
, gcdInt'
|
, gcdInt'
|
||||||
, gcdWord'
|
, gcdWord'
|
||||||
|
|||||||
Reference in New Issue
Block a user