Skip to content

Commit 61bd7d2

Browse files
committed
CI: drop testing GHC 7, react to macos-14 install failures
1 parent 64f55f9 commit 61bd7d2

File tree

2 files changed

+85
-52
lines changed

2 files changed

+85
-52
lines changed

.github/workflows/workflow.yml

Lines changed: 84 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -45,38 +45,66 @@ jobs:
4545
matrix:
4646
os: [ubuntu-latest, macOS-latest, windows-latest]
4747
plan:
48+
4849
# Latest releases
4950
- ghc: latest
5051
cabal: latest
52+
5153
# Latest ghc with cabal head
5254
- ghc: latest
5355
cabal: head
54-
# Recommended releases (update according to ghcup)
55-
# 9.4 will be recommended soon
56+
57+
# Recent releases
58+
59+
- ghc: "9.6"
60+
cabal: "3.10"
61+
5662
- ghc: "9.4"
5763
cabal: "3.8"
64+
5865
- ghc: "9.2"
5966
cabal: "3.6"
60-
# Some previously recommended releases of ghc with matching cabal
61-
- ghc: "8.10"
62-
cabal: "3.2"
63-
- ghc: "8.8"
64-
cabal: "3.0"
65-
# cabal-3.0 install might have the Windows symlinking problem
66-
# https://github.com/haskell/cabal/issues/5748
67-
- ghc: "8.6"
68-
cabal: "2.4"
67+
6968
cabal_update: ["false"]
69+
7070
# The following tests do not set 'cabal-update', which defaults to 'true' then.
7171

7272
include:
7373

74+
# Some previously recommended releases of ghc with matching cabal
75+
76+
- os: macos-13
77+
# GHC 9.0 does not work on macos-14 (LLVM problem #77)
78+
plan:
79+
ghc: "9.0"
80+
cabal: "3.4"
81+
82+
- os: ubuntu-latest
83+
plan:
84+
ghc: "8.10"
85+
cabal: "3.2"
86+
87+
- os: ubuntu-latest
88+
plan:
89+
ghc: "8.8"
90+
cabal: "3.0"
91+
# cabal-3.0 install might have the Windows symlinking problem
92+
# https://github.com/haskell/cabal/issues/5748
93+
94+
- os: ubuntu-latest
95+
plan:
96+
ghc: "8.6"
97+
cabal: "2.4"
98+
cabal_update: "true"
99+
# cabal update needed here since cabal-2.4 is still v1
100+
74101
# Test #210 (XDG): is the cabal store-dir set to something meaningful?
75102
- os: ubuntu-latest
76103
plan:
77104
ghc: "9.6"
78105
cabal: "3.10"
79106
cabal_update: "true"
107+
80108
# With choco, cabal 3.10.1.0 should map to 3.10.1.1
81109
- os: windows-latest
82110
plan:
@@ -90,13 +118,6 @@ jobs:
90118
ghc: "8.2.2"
91119
cabal: "2.4.1.0"
92120
cabal_update: "false"
93-
- os: ubuntu-20.04
94-
plan:
95-
ghc: "7.4.2"
96-
cabal: "3.4"
97-
# ubuntu-20.04/hvr has of GHC 7 just 7.0.1, 7.0.4, 7.2.2, 7.4.2, 7.10.3
98-
# and of cabal just 2.4, 3.0, 3.2, 3.4
99-
# according to https://launchpad.net/~hvr/+archive/ubuntu/ghc?field.series_filter=focal
100121

101122
# Test ghcup pre-release channel
102123
- os: ubuntu-latest
@@ -112,39 +133,51 @@ jobs:
112133
ghc: "latest-nightly"
113134
cabal: "latest"
114135

115-
# setup does something special for 7.10.3 (issue #79)
116-
- os: ubuntu-20.04
117-
plan:
118-
ghc: "7.10.3"
119-
cabal: "3.6"
120-
- os: macOS-latest
121-
plan:
122-
ghc: "7.10.3"
123-
cabal: "3.4"
124-
125-
# Andreas 2022-12-29, issue #98: GHC 7.10 failed to install on windows (choco)
126-
- os: windows-latest
127-
plan:
128-
ghc: "7.10"
129-
cabal: "3.0"
130-
131-
# Test for issue #129: GHC 9.4.3 failed to install on windows (choco)
132-
- os: windows-latest
133-
plan:
134-
ghc: "9.4.3"
135-
cabal: "3.8.1.0"
136-
137-
# Test ghcup on windows (PR #206) which choco does not have 9.4.5
138-
- os: windows-latest
139-
plan:
140-
ghc: "9.4.5"
141-
cabal: "3.8"
142-
143-
# Test GHC 9.4.4 on windows (Issue #245)
144-
- os: windows-latest
145-
plan:
146-
ghc: "9.4.4"
147-
cabal: "3.10.1.0"
136+
## Andreas, 2024-05-03, deprecate GHC 7, do not test it any longer
137+
#
138+
# - os: ubuntu-20.04
139+
# plan:
140+
# ghc: "7.4.2"
141+
# cabal: "3.4"
142+
# # ubuntu-20.04/hvr has of GHC 7 just 7.0.1, 7.0.4, 7.2.2, 7.4.2, 7.10.3
143+
# # and of cabal just 2.4, 3.0, 3.2, 3.4
144+
# # according to https://launchpad.net/~hvr/+archive/ubuntu/ghc?field.series_filter=focal
145+
#
146+
# # setup does something special for 7.10.3 (issue #79)
147+
# - os: ubuntu-20.04
148+
# plan:
149+
# ghc: "7.10.3"
150+
# cabal: "3.6"
151+
# - os: macOS-latest
152+
# plan:
153+
# ghc: "7.10.3"
154+
# cabal: "3.4"
155+
#
156+
# # Andreas 2022-12-29, issue #98: GHC 7.10 failed to install on windows (choco)
157+
# - os: windows-latest
158+
# plan:
159+
# ghc: "7.10"
160+
# cabal: "3.0"
161+
162+
## Andreas, 2024-05-03, stop testing old minor versions
163+
#
164+
# # Test for issue #129: GHC 9.4.3 failed to install on windows (choco)
165+
# - os: windows-latest
166+
# plan:
167+
# ghc: "9.4.3"
168+
# cabal: "3.8.1.0"
169+
170+
# # Test ghcup on windows (PR #206) which choco does not have 9.4.5
171+
# - os: windows-latest
172+
# plan:
173+
# ghc: "9.4.5"
174+
# cabal: "3.8"
175+
176+
# # Test GHC 9.4.4 on windows (Issue #245)
177+
# - os: windows-latest
178+
# plan:
179+
# ghc: "9.4.4"
180+
# cabal: "3.10.1.0"
148181

149182
steps:
150183
- uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ E.g., `8.10` will be resolved to `8.10.7`, and so will `8`.
291291
- `8.4.1`
292292
- `8.2.2` `8.2`
293293
- `8.0.2` `8.0`
294-
- `7.10.3` `7.10` (not on `ubuntu-22.04` or up)
294+
- `7.10.3` `7.10` (deprecated, not on `ubuntu-22.04` or up)
295295

296296
Suggestion: Try to support at least the three latest major versions of GHC.
297297

0 commit comments

Comments
 (0)