Skip to content

Commit e606d40

Browse files
authored
Allow-newer clauses for GHC 9.14 (haskell-distributed#489)
1 parent 0acc5b7 commit e606d40

2 files changed

Lines changed: 21 additions & 24 deletions

File tree

‎.github/workflows/cabal.yml‎

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,16 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
include:
24-
- ghc-version: "8.10.7"
25-
cabal-flags: ""
26-
- ghc-version: "9.0.2"
27-
cabal-flags: ""
28-
- ghc-version: "9.2.8"
29-
cabal-flags: ""
30-
- ghc-version: "9.4.8"
31-
cabal-flags: ""
32-
- ghc-version: "9.6.7"
33-
cabal-flags: ""
34-
- ghc-version: "9.8.4"
35-
cabal-flags: ""
36-
- ghc-version: "9.10.3"
37-
cabal-flags: ""
38-
- ghc-version: "9.12.2"
39-
cabal-flags: ""
40-
- ghc-version: "9.14.1"
41-
# See issue 479 for when we can drop the following flags
42-
cabal-flags: "--allow-newer=base --allow-newer=template-haskell"
23+
ghc-version:
24+
- "8.10"
25+
- "9.0"
26+
- "9.2"
27+
- "9.4"
28+
- "9.6"
29+
- "9.8"
30+
- "9.10"
31+
- "9.12"
32+
- "9.14"
4333

4434
runs-on: "ubuntu-latest"
4535

@@ -57,7 +47,7 @@ jobs:
5747
run: |
5848
# Cloud Haskell tests using the QUIC backend are quite flaky, but in CI only.
5949
# Therefore, the 'quic' flag is normally enabled locally, but disabled in CI.
60-
cabal configure --test-show-details=direct --flags "-quic" ${{matrix.cabal-flags}}
50+
cabal configure --test-show-details=direct --flags "-quic"
6151
cabal freeze --minimize-conflict-set
6252
cat cabal.project.freeze
6353
@@ -124,4 +114,4 @@ jobs:
124114
# Run benchmarks with j1 so that we don't get interleaved output
125115
- name: Run benchmarks
126116
run: |
127-
cabal bench all -j1 --project-file=cabal.optimized.project
117+
cabal bench all -j1 --project-file=cabal.optimized.project

‎cabal.project‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
packages: packages/*/**.cabal
2-
tests: true
3-
benchmarks: true
2+
tests: True
3+
benchmarks: True
4+
5+
-- In order to support GHC 9.14, until new versions
6+
-- of the following libraries, we must allow newer
7+
-- versions of base
8+
allow-newer:
9+
cborg:base,
10+
serialise:base
411

512
package distributed-process-tests
613
flags: +tcp

0 commit comments

Comments
 (0)