Skip to content

Commit 7bebdbd

Browse files
authored
Merge pull request #721 from haskell-CI/drop-ghc-84-82
Drop support for GHC-8.4 and GHC-8.2
2 parents a4f50ce + 4bdd0b3 commit 7bebdbd

File tree

5 files changed

+15
-38
lines changed

5 files changed

+15
-38
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,12 @@ jobs:
7070
compilerVersion: 8.6.5
7171
setup-method: ghcup
7272
allow-failure: false
73-
- compiler: ghc-8.4.4
74-
compilerKind: ghc
75-
compilerVersion: 8.4.4
76-
setup-method: ghcup
77-
allow-failure: false
78-
- compiler: ghc-8.2.2
79-
compilerKind: ghc
80-
compilerVersion: 8.2.2
81-
setup-method: ghcup
82-
allow-failure: false
8373
fail-fast: false
8474
steps:
8575
- name: apt
8676
run: |
8777
apt-get update
88-
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 libnuma-dev
78+
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
8979
mkdir -p "$HOME/.ghcup/bin"
9080
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
9181
chmod a+x "$HOME/.ghcup/bin/ghcup"
@@ -291,13 +281,6 @@ jobs:
291281
- name: prepare for constraint sets
292282
run: |
293283
rm -f cabal.project.local
294-
- name: constraint set deepseq-1.4
295-
run: |
296-
if [ $((HCNUMVER < 80400)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' all --dry-run ; fi
297-
if [ $((HCNUMVER < 80400)) -ne 0 ] ; then cabal-plan topo | sort ; fi
298-
if [ $((HCNUMVER < 80400)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' --dependencies-only -j2 all ; fi
299-
if [ $((HCNUMVER < 80400)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' all ; fi
300-
if [ $((HCNUMVER < 80400)) -ne 0 ] ; then $CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' all ; fi
301284
- name: save cache
302285
uses: actions/cache/save@v4
303286
if: always()

cabal-install-parsers/Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.2
2+
3+
- Drop support for GHC prior 8.6.5
4+
15
## 0.6.1
26

37
- Use `Cabal-syntax-3.10`

cabal-install-parsers/cabal-install-parsers.cabal

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ maintainer: [email protected], [email protected]
2525
category: Development
2626
build-type: Simple
2727
tested-with:
28-
GHC ==8.2.2
29-
|| ==8.4.4
30-
|| ==8.6.5
28+
GHC ==8.6.5
3129
|| ==8.8.4
3230
|| ==8.10.7
3331
|| ==9.0.2
@@ -67,11 +65,11 @@ library
6765

6866
-- GHC-boot libraries
6967
build-depends:
70-
, base >=4.10 && <4.20
71-
, binary ^>=0.8.5
72-
, bytestring ^>=0.10.8.1 || ^>=0.11.1.0 || ^>=0.12.0.2
68+
, base >=4.12 && <4.20
69+
, binary ^>=0.8.6.0
70+
, bytestring ^>=0.10.8.2 || ^>=0.11.1.0 || ^>=0.12.0.2
7371
, Cabal-syntax ^>=3.10.3.0
74-
, containers ^>=0.5.7.1 || ^>=0.6.0.1
72+
, containers ^>=0.6.0.1
7573
, deepseq ^>=1.4.2.0 || ^>=1.5.0.0
7674
, directory ^>=1.3.0.0
7775
, filepath ^>=1.4.1.1

haskell-ci.cabal

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ maintainer: [email protected]
3333
category: Development
3434
build-type: Simple
3535
tested-with:
36-
GHC ==8.2.2
37-
|| ==8.4.4
38-
|| ==8.6.5
36+
GHC ==8.6.5
3937
|| ==8.8.4
4038
|| ==8.10.7
4139
|| ==9.0.2
@@ -144,11 +142,11 @@ library haskell-ci-internal
144142
ViewPatterns
145143

146144
build-depends:
147-
, base >=4.10 && <4.20
145+
, base >=4.12 && <4.20
148146
, binary ^>=0.8.5.1
149147
, bytestring ^>=0.10.8.1 || ^>=0.11.1.0 || ^>=0.12.0.2
150148
, Cabal-syntax ^>=3.10.3.0
151-
, containers ^>=0.5.7.1 || ^>=0.6.0.1
149+
, containers ^>=0.6.0.1
152150
, deepseq ^>=1.4.2.0 || ^>=1.5.0.0
153151
, directory ^>=1.3.0.0
154152
, filepath ^>=1.4.1.1
@@ -159,12 +157,9 @@ library haskell-ci-internal
159157
, text ^>=1.2.3.0 || ^>=2.0.1 || ^>=2.1
160158
, transformers ^>=0.5.2.0 || ^>=0.6.1.0
161159

162-
if !impl(ghc >=8.2)
163-
build-depends: bifunctors ^>=5.5.4
164-
165160
-- other dependencies
166161
build-depends:
167-
, aeson ^>=2.1.0.0 || ^>=2.2.0.0
162+
, aeson ^>=2.2.0.0
168163
, attoparsec ^>=0.14.1
169164
, base-compat ^>=0.13.0
170165
, base16-bytestring ^>=1.0.1.0

haskell-ci.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
CFG_CABAL_STORE_CACHE=""
2121
CFG_CABAL_REPO_CACHE=""
22-
CFG_JOBS="9.8.2 9.6.5 9.4.8 9.2.8 9.0.2 8.10.7 8.8.4 8.6.5 8.4.4 8.2.2"
22+
CFG_JOBS="9.8.2 9.6.5 9.4.8 9.2.8 9.0.2 8.10.7 8.8.4 8.6.5"
2323
CFG_CABAL_UPDATE=false
2424

2525
SCRIPT_NAME=$(basename "$0")
@@ -548,9 +548,6 @@ run_cmd $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
548548
put_info "constraint sets"
549549
run_cmd rm -f cabal.project.local
550550
put_info "constraint set deepseq-1.4"
551-
run_cmd_if $((HCNUMVER < 80400)) $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' --dependencies-only -j all
552-
run_cmd_if $((HCNUMVER < 80400)) $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' all
553-
run_cmd_if $((HCNUMVER < 80400)) $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' all
554551

555552

556553
# Done

0 commit comments

Comments
 (0)