Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 12 additions & 22 deletions .github/workflows/cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,16 @@ jobs:
strategy:
fail-fast: false
matrix:
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.8"
cabal-flags: ""
- ghc-version: "9.6.7"
cabal-flags: ""
- ghc-version: "9.8.4"
cabal-flags: ""
- ghc-version: "9.10.3"
cabal-flags: ""
- ghc-version: "9.12.2"
cabal-flags: ""
- ghc-version: "9.14.1"
# See issue 479 for when we can drop the following flags
cabal-flags: "--allow-newer=base --allow-newer=template-haskell"
ghc-version:
- "8.10"
- "9.0"
- "9.2"
- "9.4"
- "9.6"
- "9.8"
- "9.10"
- "9.12"
- "9.14"

runs-on: "ubuntu-latest"

Expand All @@ -57,7 +47,7 @@ jobs:
run: |
# Cloud Haskell tests using the QUIC backend are quite flaky, but in CI only.
# Therefore, the 'quic' flag is normally enabled locally, but disabled in CI.
cabal configure --test-show-details=direct --flags "-quic" ${{matrix.cabal-flags}}
cabal configure --test-show-details=direct --flags "-quic"
cabal freeze --minimize-conflict-set
cat cabal.project.freeze

Expand Down Expand Up @@ -124,4 +114,4 @@ jobs:
# Run benchmarks with j1 so that we don't get interleaved output
- name: Run benchmarks
run: |
cabal bench all -j1 --project-file=cabal.optimized.project
cabal bench all -j1 --project-file=cabal.optimized.project
11 changes: 9 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
packages: packages/*/**.cabal
tests: true
benchmarks: true
tests: True
benchmarks: True

-- In order to support GHC 9.14, until new versions
-- of the following libraries, we must allow newer
-- versions of base
allow-newer:
cborg:base,
serialise:base

package distributed-process-tests
flags: +tcp
Loading