Skip to content

Commit

Permalink
Explicit support for GHC 9.12
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Dec 19, 2024
1 parent df65f6b commit 4327bbd
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 28 deletions.
38 changes: 23 additions & 15 deletions .github/workflows/cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,26 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc-version:
- "8.10.7"
- "9.0.2"
- "9.2.8"
- "9.4.5"
- "9.6.4"
- "9.8.2"
- "9.10.1"
operating-system:
- "ubuntu-latest"
include:
- ghc-version: "8.10.7"
cabal-flags: ""
- ghc-version: "9.0.2"
cabal-flags: ""
- ghc-version: "9.2.8"
cabal-flags: ""
- ghc-version: "9.4.5"
cabal-flags: ""
- ghc-version: "9.6.4"
cabal-flags: ""
- ghc-version: "9.8.2"
cabal-flags: ""
- ghc-version: "9.10.1"
cabal-flags: ""
# Temporary cabal flags until all dependencies are updated
- ghc-version: "9.12.1"
cabal-flags: "--allow-newer=base --allow-newer=template-haskell --allow-newer=ghc-prim"

runs-on: ${{ matrix.operating-system }}
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v4
Expand All @@ -44,7 +52,7 @@ jobs:
- name: Generate freeze file
run: |
cabal configure --enable-tests --test-show-details=direct
cabal freeze --minimize-conflict-set
cabal freeze ${{matrix.cabal-flags}} --minimize-conflict-set
cat cabal.project.freeze
- name: Cache cabal work
Expand All @@ -58,10 +66,10 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('cabal.project', 'cabal.project.local') }}-cabal-install

- name: Build dependencies only
run: cabal build all --only-dependencies
run: cabal build all --only-dependencies ${{matrix.cabal-flags}}

- name: Build all packages
run: cabal build all
run: cabal build all ${{matrix.cabal-flags}}

- name: Run all tests
run: cabal test all
run: cabal test all ${{matrix.cabal-flags}}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: This package provides a higher-level interface over Processes, i
concurrent, possibly distributed Process that will eventually deliver a value of type a.
The package provides ways to create Async computations, wait for their results, and cancel them.
category: Control
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
extra-doc-files: CHANGELOG.md

source-repository head
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: Modelled after Erlang OTP's gen_server, this framework provides
development into a set of modules and standards designed to help you build
concurrent, distributed applications with relative ease.
category: Control
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
extra-doc-files: CHANGELOG.md

source-repository head
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description:
The currently implementation provides only a subset of the plumbing required, comprising tools
for event management, mailbox buffering and message routing.
category: Control
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
extra-doc-files: ChangeLog

source-repository head
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ synopsis: Cloud Haskell Extras
description: Supporting library, providing common types and utilities used by the
various libraries built on top of distributed-process
category: Control
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
extra-doc-files: ChangeLog

source-repository head
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Description: Simple backend based on the TCP transport which offers node
discovery based on UDP multicast. This is a zero-configuration
backend designed to get you going with Cloud Haskell quickly
without imposing any structure on your application.
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
Category: Control
extra-doc-files: ChangeLog

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ description: A part of the Cloud Haskell framework

For detailed information see "Control.Distributed.Process.Supervisor"
category: Control
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
extra-doc-files: ChangeLog

source-repository head
Expand Down
1 change: 1 addition & 0 deletions packages/distributed-process/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Unreleased

* Added documentation on the unit of measurement for timeout durations (#340)
* Added upper bound on `template-haskell` to prevent future breakage.

2024-09-03 Laurent P. René de Cotret <[email protected]> 0.7.7

Expand Down
6 changes: 3 additions & 3 deletions packages/distributed-process/distributed-process.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
Name: distributed-process
Version: 0.7.7
Version: 0.7.8
Build-Type: Simple
License: BSD-3-Clause
License-File: LICENSE
Expand All @@ -21,7 +21,7 @@ Description: This is an implementation of Cloud Haskell, as described in

You will probably also want to install a Cloud Haskell backend such
as distributed-process-simplelocalnet.
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
Category: Control
extra-doc-files: ChangeLog

Expand Down Expand Up @@ -113,7 +113,7 @@ Library
UndecidableInstances
if flag(th)
other-extensions: TemplateHaskell
Build-Depends: template-haskell >= 2.6
Build-Depends: template-haskell >= 2.6 && <2.24
Exposed-modules: Control.Distributed.Process.Internal.Closure.TH
CPP-Options: -DTemplateHaskellSupport

Expand Down
2 changes: 1 addition & 1 deletion packages/distributed-static/distributed-static.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Copyright: Well-Typed LLP
Category: Control
Build-Type: Simple
extra-doc-files: ChangeLog
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1

source-repository head
Type: git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Description: This is a transport implementation that could be used for local
communication. All endpoints that want to comminicate should be
created using the same transport.

tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
Category: Network
extra-doc-files: ChangeLog

Expand Down
2 changes: 1 addition & 1 deletion packages/network-transport-tcp/network-transport-tcp.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Homepage: http://haskell-distributed.github.com
Bug-Reports: https://github.com/haskell-distributed/distributed-process/issues
Synopsis: TCP instantiation of Network.Transport
Description: TCP instantiation of Network.Transport, which can be used to create Cloud Haskell backends
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
Category: Network
extra-doc-files: ChangeLog

Expand Down
2 changes: 1 addition & 1 deletion packages/network-transport/network-transport.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Description: "Network.Transport" is a Network Abstraction Layer which provides
This package provides the generic interface only; you will
probably also want to install at least one transport
implementation (network-transport-*).
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
Category: Network
extra-doc-files: ChangeLog

Expand Down

0 comments on commit 4327bbd

Please sign in to comment.