Skip to content

Commit c825584

Browse files
committed
Simplify CI (haskell#76)
1 parent eeced90 commit c825584

File tree

4 files changed

+33
-289
lines changed

4 files changed

+33
-289
lines changed

.github/workflows/ci.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Haskell CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ghc: ['8.0', '8.2', '8.4', '8.6', '8.8', '8.10', '9.0', '9.2', '9.4', '9.6', '9.8', '9.10', '9.12']
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: haskell-actions/setup@v2
21+
id: setup-haskell
22+
with:
23+
ghc-version: ${{ matrix.ghc }}
24+
- uses: actions/cache@v4
25+
with:
26+
path: |
27+
${{ steps.setup-haskell.outputs.cabal-store }}
28+
dist-newstyle
29+
key: ${{ runner.os }}-${{ matrix.ghc }}
30+
- name: Build
31+
run: cabal build

.github/workflows/haskell-ci.yml

Lines changed: 0 additions & 273 deletions
This file was deleted.

cabal.haskell-ci

Lines changed: 0 additions & 7 deletions
This file was deleted.

parallel.cabal

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ category: Control, Parallelism
1212
build-type: Simple
1313

1414
tested-with:
15-
GHC == 9.12.1
15+
GHC == 9.12.2
1616
GHC == 9.10.1
1717
GHC == 9.8.4
18-
GHC == 9.6.6
18+
GHC == 9.6.7
1919
GHC == 9.4.8
2020
GHC == 9.2.8
2121
GHC == 9.0.2
@@ -25,13 +25,6 @@ tested-with:
2525
GHC == 8.4.4
2626
GHC == 8.2.2
2727
GHC == 8.0.2
28-
-- Drop these old GHCs from CI:
29-
-- GHC == 7.10.3
30-
-- GHC == 7.8.4
31-
-- GHC == 7.6.3
32-
-- GHC == 7.4.2
33-
-- GHC == 7.2.2
34-
-- GHC == 7.0.4
3528

3629
description:
3730
This package provides a library for parallel programming.

0 commit comments

Comments
 (0)