mirror of
https://github.com/tfausak/witch.git
synced 2024-11-26 09:43:03 +03:00
Merge pull request #29 from tfausak/gh28-ghc-8.6
Add support for GHC 8.6, 8.4, and 8.2
This commit is contained in:
commit
c8df4f3671
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
@ -18,8 +18,11 @@ jobs:
|
||||
- { os: ubuntu-20.04, ghc: 9.0.1, cabal: 3.4.0.0 }
|
||||
- { os: macos-10.15, ghc: 9.0.1, cabal: 3.4.0.0 }
|
||||
- { os: windows-2019, ghc: 9.0.1, cabal: 3.4.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.10.4, cabal: 3.2.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.8.4, cabal: 3.0.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.10.4, cabal: 3.4.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.8.4, cabal: 3.4.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.6.5, cabal: 3.4.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.4.4, cabal: 3.4.0.0 }
|
||||
- { os: ubuntu-20.04, ghc: 8.2.2, cabal: 3.4.0.0 }
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,8 @@
|
||||
/.cabal-sandbox/
|
||||
/.ghc.environment*
|
||||
/.stack-work/
|
||||
/cabal.project.freeze
|
||||
/cabal.sandbox.config
|
||||
/dist-newstyle/
|
||||
/dist/
|
||||
/stack.yaml.lock
|
||||
|
23
witch.cabal
23
witch.cabal
@ -18,23 +18,30 @@ source-repository head
|
||||
|
||||
common basics
|
||||
build-depends:
|
||||
, base >= 4.13.0 && < 4.16
|
||||
, bytestring >= 0.10.12 && < 0.11
|
||||
, containers >= 0.6.2 && < 0.7
|
||||
, text >= 1.2.4 && < 1.3
|
||||
, time >= 1.9 && < 1.12
|
||||
, base >= 4.10.0 && < 4.16
|
||||
, bytestring >= 0.10.8 && < 0.12
|
||||
, containers >= 0.5.10 && < 0.7
|
||||
, text >= 1.2.3 && < 1.3
|
||||
, time >= 1.9.1 && < 1.12
|
||||
default-language: Haskell2010
|
||||
ghc-options:
|
||||
-Weverything
|
||||
-Wno-all-missed-specialisations
|
||||
-Wno-implicit-prelude
|
||||
-Wno-missing-deriving-strategies
|
||||
-Wno-missing-export-lists
|
||||
-Wno-missed-specialisations
|
||||
-Wno-missing-exported-signatures
|
||||
-Wno-redundant-constraints
|
||||
-Wno-safe
|
||||
-Wno-unsafe
|
||||
|
||||
if impl(ghc >= 8.4)
|
||||
ghc-options:
|
||||
-Wno-missing-export-lists
|
||||
|
||||
if impl(ghc >= 8.8)
|
||||
ghc-options:
|
||||
-Wno-missing-deriving-strategies
|
||||
|
||||
if impl(ghc >= 8.10)
|
||||
ghc-options:
|
||||
-Wno-missing-safe-haskell-mode
|
||||
@ -44,7 +51,7 @@ library
|
||||
import: basics
|
||||
|
||||
build-depends:
|
||||
, template-haskell >= 2.15.0 && < 2.18
|
||||
, template-haskell >= 2.12.0 && < 2.18
|
||||
exposed-modules:
|
||||
Witch
|
||||
Witch.From
|
||||
|
Loading…
Reference in New Issue
Block a user