Skip to content

Commit f573253

Browse files
authored
Testing with GHC 9.14 (#480)
1 parent 8ea0b00 commit f573253

File tree

16 files changed

+24
-21
lines changed

16 files changed

+24
-21
lines changed

.github/workflows/cabal.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
cabal-flags: ""
3838
- ghc-version: "9.12.2"
3939
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=ghc-bignum --allow-newer=containers --allow-newer=template-haskell"
4043

4144
runs-on: "ubuntu-latest"
4245

@@ -48,14 +51,14 @@ jobs:
4851
id: setup-haskell
4952
with:
5053
ghc-version: ${{ matrix.ghc-version }}
51-
cabal-version: '3.12.1.0'
54+
cabal-version: '3.16.1.0'
5255

5356
- name: Generate freeze file
5457
run: |
5558
# Cloud Haskell tests using the QUIC backend are quite flaky, but in CI only.
5659
# Therefore, the 'quic' flag is normally enabled locally, but disabled in CI.
57-
cabal configure --enable-tests --test-show-details=direct --flags "-quic"
58-
cabal freeze ${{matrix.cabal-flags}} --minimize-conflict-set
60+
cabal configure --enable-tests --test-show-details=direct --flags "-quic" ${{matrix.cabal-flags}}
61+
cabal freeze --minimize-conflict-set
5962
cat cabal.project.freeze
6063
6164
- name: Cache cabal work
@@ -69,15 +72,15 @@ jobs:
6972
key: ${{ runner.os }}-${{ hashFiles('cabal.project', 'cabal.project.local') }}-cabal-install
7073

7174
- name: Build dependencies only
72-
run: cabal build all --only-dependencies ${{matrix.cabal-flags}}
75+
run: cabal build all --only-dependencies
7376

7477
- name: Build all packages
75-
run: cabal build all ${{matrix.cabal-flags}}
78+
run: cabal build all
7679

7780
- name: Run all tests
7881
# We have seen in the past some tests hang for hours, wasting resources.
7982
# The timeout below should be plenty
8083
timeout-minutes: 10
8184
# We run each test suite one-by-one to better observe problems.
82-
run: cabal test all -j1 ${{matrix.cabal-flags}}
85+
run: cabal test all -j1
8386

packages/distributed-process-async/distributed-process-async.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: This package provides a higher-level interface over Processes, i
1515
concurrent, possibly distributed Process that will eventually deliver a value of type a.
1616
The package provides ways to create Async computations, wait for their results, and cancel them.
1717
category: Control
18-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
18+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1
1919
extra-doc-files: CHANGELOG.md
2020

2121
source-repository head

packages/distributed-process-client-server/distributed-process-client-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: Modelled after Erlang OTP's gen_server, this framework provides
1616
development into a set of modules and standards designed to help you build
1717
concurrent, distributed applications with relative ease.
1818
category: Control
19-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
19+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1
2020
extra-doc-files: CHANGELOG.md
2121

2222
source-repository head

packages/distributed-process-execution/distributed-process-execution.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description:
1616
The currently implementation provides only a subset of the plumbing required, comprising tools
1717
for event management, mailbox buffering and message routing.
1818
category: Control
19-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
19+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1
2020
extra-doc-files: ChangeLog
2121

2222
source-repository head

packages/distributed-process-extras/distributed-process-extras.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ synopsis: Cloud Haskell Extras
1414
description: Supporting library, providing common types and utilities used by the
1515
various libraries built on top of distributed-process
1616
category: Control
17-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
17+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1
1818
extra-doc-files: ChangeLog
1919

2020
source-repository head

packages/distributed-process-fsm/distributed-process-fsm.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Bug-Reports: http://github.com/haskell-distributed/distributed-process-fsm/is
1313
synopsis: The Cloud Haskell implementation of Erlang/OTP gen_statem
1414
description: Cloud Haskell framework for building finite state machines around CSPs
1515
category: Control
16-
Tested-With: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
16+
Tested-With: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1
1717

1818
source-repository head
1919
type: git

packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Description: Simple backend based on the TCP transport which offers node
1515
discovery based on UDP multicast. This is a zero-configuration
1616
backend designed to get you going with Cloud Haskell quickly
1717
without imposing any structure on your application.
18-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
18+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1
1919
Category: Control
2020
extra-doc-files: ChangeLog
2121

packages/distributed-process-supervisor/distributed-process-supervisor.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ description: A part of the Cloud Haskell framework
2020

2121
For detailed information see "Control.Distributed.Process.Supervisor"
2222
category: Control
23-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
23+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1
2424
extra-doc-files: ChangeLog
2525

2626
source-repository head

packages/distributed-process-tests/distributed-process-tests.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ maintainer: The Distributed Haskell team
1111
copyright: Well-Typed LLP
1212
category: Control, Cloud Haskell
1313
build-type: Simple
14-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
14+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1
1515
extra-source-files:
1616
tests/credentials/cert.crt
1717
tests/credentials/cert.key

packages/distributed-process/distributed-process.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Description: This is an implementation of Cloud Haskell, as described in
2121

2222
You will probably also want to install a Cloud Haskell backend such
2323
as distributed-process-simplelocalnet.
24-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2
24+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.8 GHC==9.6.7 GHC==9.8.4 GHC==9.10.3 GHC==9.12.2 GHC==9.14.1 GHC==9.14.1
2525
Category: Control
2626
extra-doc-files: ChangeLog
2727

0 commit comments

Comments
 (0)