Skip to content

Commit

Permalink
[#443] Test Summoner with GHC-8.10 (#463)
Browse files Browse the repository at this point in the history
* [#443] Test Summoner with GHC-8.10

Resolves #443

* Do not build test projects with 8.10.1 yet
  • Loading branch information
vrom911 authored May 21, 2020
1 parent ff247ad commit f269284
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- "8.4.4"
- "8.6.5"
- "8.8.3"
- "8.10.1"

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -50,19 +51,22 @@ jobs:
echo "packages: ." > cabal.project
cabal v2-build all
- name: Build 'cabal-full'
- if: matrix.ghc != '8.10.1'
name: Build 'cabal-full'
run: |
cd "summoner-cli/examples/cabal-full/"
echo "packages: ." > cabal.project
cabal v2-build all
- name: Build 'stack-full'
- if: matrix.ghc != '8.10.1'
name: Build 'stack-full'
run: |
cd "summoner-cli/examples/stack-full/"
echo "packages: ." > cabal.project
cabal v2-build all
- name: Build 'full-batteries'
- if: matrix.ghc != '8.10.1'
name: Build 'full-batteries'
run: |
cd "summoner-cli/examples/full-batteries/"
echo "packages: ." > cabal.project
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The changelog is available [on GitHub][2].

## Unreleased

* [#443](https://github.com/kowainik/summoner/issues/443):
Support GHC-8.10.1 for `Summoner` project.
* [#459](https://github.com/kowainik/summoner/issues/459):
Bump up `tomland` version to `1.3.0.0`.
* [#460](https://github.com/kowainik/summoner/issues/460):
Expand All @@ -16,6 +18,8 @@ The changelog is available [on GitHub][2].
* [#452](https://github.com/kowainik/summoner/issues/452):
Bump up `colourista` version to `0.1.0.0`. Remove the
`Summoner.Ansi` module.
* __#TUI__ Bump up `brick` upper bound to allow `0.53`.
* __#CLI__ Bump up `time` upper bound to allow `1.10`.

## 2.0.0.0 – Mar 28, 2019

Expand Down
8 changes: 5 additions & 3 deletions summoner-cli/summoner.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ extra-doc-files: README.md
tested-with: GHC == 8.4.4
GHC == 8.6.5
GHC == 8.8.3
GHC == 8.10.1
extra-source-files:
examples/summoner-default.toml

Expand Down Expand Up @@ -71,7 +72,7 @@ source-repository head
location: [email protected]:kowainik/summoner.git

common common-options
build-depends: base >= 4.11 && < 4.14
build-depends: base >= 4.11 && < 4.15
, relude ^>= 0.7.0.0

mixins: base hiding (Prelude)
Expand All @@ -94,6 +95,8 @@ common common-options
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
-Werror=missing-deriving-strategies
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages

default-extensions: DeriveGeneric
DerivingStrategies
Expand Down Expand Up @@ -137,7 +140,6 @@ library
other-modules: Paths_summoner

build-depends: aeson >= 1.2.4.0 && < 1.5
, bytestring ^>= 0.10.8.2
, colourista ^>= 0.1
, containers ^>= 0.6
, directory ^>= 1.3.0.2
Expand All @@ -149,7 +151,7 @@ library
, process ^>= 1.6.1.0
, shellmet ^>= 0.0.3.0
, text ^>= 1.2.3.0
, time >= 1.8 && < 1.10
, time >= 1.8 && < 1.11
, tomland ^>= 1.3.0.0
, validation-selective >= 0.0.0.0 && < 0.2

Expand Down
8 changes: 5 additions & 3 deletions summoner-tui/summoner-tui.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ extra-doc-files: README.md
tested-with: GHC == 8.4.4
GHC == 8.6.5
GHC == 8.8.3
GHC == 8.10.1

source-repository head
type: git
location: [email protected]:kowainik/summoner.git

common common-options
build-depends: base >= 4.11 && < 4.14
build-depends: base >= 4.11 && < 4.15
, relude ^>= 0.7.0.0

mixins: base hiding (Prelude)
Expand All @@ -47,6 +48,8 @@ common common-options
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
-Werror=missing-deriving-strategies
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages

default-extensions: DeriveGeneric
DerivingStrategies
Expand Down Expand Up @@ -76,10 +79,9 @@ library
autogen-modules: Paths_summoner_tui
other-modules: Paths_summoner_tui

build-depends: brick >= 0.47 && < 0.53
build-depends: brick >= 0.47 && < 0.54
, colourista ^>= 0.1
, directory ^>= 1.3.0.2
, filepath ^>= 1.4.1.2
, microlens ^>= 0.4
, microlens-th ^>= 0.4
, summoner ^>= 2.0.0.0
Expand Down

0 comments on commit f269284

Please sign in to comment.