Skip to content

Commit 63445c5

Browse files
committed
Update release ghc versions
1 parent 98a4449 commit 63445c5

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,19 @@ jobs:
106106
]
107107
# TODO: rm
108108
# we need a different image for 9.4.5, because GHC bindists are busted
109+
# See for https://gitlab.haskell.org/ghc/ghc/-/issues/22268 details.
110+
# TLDR; remove this code once we drop support for GHC 9.4
109111
include:
110112
- ghc: 8.10.7
111113
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
112114
- ghc: 9.0.2
113115
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
114-
- ghc: 9.2.7
115-
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
116116
- ghc: 9.2.8
117117
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
118118
- ghc: 9.4.5
119119
platform: { image: "fedora:33", installCmd: "dnf install -y", toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf tree", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
120+
- ghc: 9.4.6
121+
platform: { image: "fedora:33", installCmd: "dnf install -y", toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf tree", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
120122
- ghc: 9.6.2
121123
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
122124
container:
@@ -173,7 +175,7 @@ jobs:
173175
strategy:
174176
fail-fast: true
175177
matrix:
176-
ghc: ["9.6.2", "9.4.5", "9.2.8", "9.2.7", "9.0.2", "8.10.7"]
178+
ghc: ["9.6.2", "9.4.6", "9.4.5", "9.2.8", "9.0.2", "8.10.7"]
177179
steps:
178180
- uses: docker://arm64v8/ubuntu:focal
179181
name: Cleanup (aarch64 linux)
@@ -228,7 +230,7 @@ jobs:
228230
strategy:
229231
fail-fast: false
230232
matrix:
231-
ghc: ["9.6.2", "9.4.5", "9.2.8", "9.2.7", "9.0.2", "8.10.7"]
233+
ghc: ["9.6.2", "9.4.6", "9.4.5", "9.2.8", "9.0.2", "8.10.7"]
232234
steps:
233235
- name: Checkout code
234236
uses: actions/checkout@v3
@@ -268,7 +270,7 @@ jobs:
268270
strategy:
269271
fail-fast: false
270272
matrix:
271-
ghc: ["9.6.2", "9.4.5", "9.2.8", "9.2.7", "8.10.7"]
273+
ghc: ["9.6.2", "9.4.6", "9.4.5", "9.2.8", "8.10.7"]
272274
steps:
273275
- name: Checkout code
274276
uses: actions/checkout@v3
@@ -317,7 +319,7 @@ jobs:
317319
strategy:
318320
fail-fast: false
319321
matrix:
320-
ghc: ["9.6.2", "9.4.5", "9.2.8", "9.2.7", "9.0.2", "8.10.7"]
322+
ghc: ["9.6.2", "9.4.6", "9.4.5", "9.2.8", "9.0.2", "8.10.7"]
321323
steps:
322324
- name: install windows deps
323325
shell: pwsh

RELEASING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- [ ] check ghcup supports new GHC releases if any
66
- [ ] set the supported GHCs in workflow file `.github/workflows/release.yaml`
7+
- There is currently a list of GHC versions for each major platform. Search for `ghc: [` to find all lists.
8+
- Look for `TODO:` to find locations that require extra care for GHC versions.
79
- [ ] check all plugins still work if release includes code changes
810
- [ ] bump package versions in all `*.cabal` files (same version as hls)
911
- HLS uses a lockstep versioning. The core packages and all plugins use the same version number, and only support exactly the this version.

0 commit comments

Comments
 (0)