@@ -105,22 +105,68 @@ jobs:
105105 }
106106 ]
107107 # TODO: rm
108- # 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
108+ # Instead of manually adding the Unknown Linux Bindist jobs here,
109+ # it should be part of the matrix above.
110+ # However, due to GHC 9.4 shenanigans, we need some special logic.
111+ # https://gitlab.haskell.org/ghc/ghc/-/issues/22268
112+ #
113+ # Perhaps we can migrate *all* unknown linux builds to a uniform
114+ # image.
111115 include :
112116 - ghc : 8.10.7
113- 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" }
117+ platform :
118+ { image: "rockylinux:8"
119+ , installCmd: "yum -y install epel-release && yum install -y --allowerasing"
120+ , 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"
121+ , DISTRO: "Unknown"
122+ , ARTIFACT: "x86_64-linux-unknown"
123+ , ADD_CABAL_ARGS: "--enable-split-sections"
124+ }
114125 - ghc : 9.0.2
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" }
126+ platform :
127+ { image: "rockylinux:8"
128+ , installCmd: "yum -y install epel-release && yum install -y --allowerasing"
129+ , 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"
130+ , DISTRO: "Unknown"
131+ , ARTIFACT: "x86_64-linux-unknown"
132+ , ADD_CABAL_ARGS: "--enable-split-sections"
133+ }
116134 - ghc : 9.2.8
117- 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" }
135+ platform :
136+ { image: "rockylinux:8"
137+ , installCmd: "yum -y install epel-release && yum install -y --allowerasing"
138+ , 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"
139+ , DISTRO: "Unknown"
140+ , ARTIFACT: "x86_64-linux-unknown"
141+ , ADD_CABAL_ARGS: "--enable-split-sections"
142+ }
118143 - ghc : 9.4.5
119- 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" }
144+ platform :
145+ { image: "fedora:27"
146+ , installCmd: "dnf install -y"
147+ , 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"
148+ , DISTRO: "Unknown"
149+ , ARTIFACT: "x86_64-linux-unknown"
150+ , ADD_CABAL_ARGS: "--enable-split-sections"
151+ }
120152 - 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" }
153+ platform :
154+ { image: "fedora:27"
155+ , installCmd: "dnf install -y"
156+ , 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"
157+ , DISTRO: "Unknown"
158+ , ARTIFACT: "x86_64-linux-unknown"
159+ , ADD_CABAL_ARGS: "--enable-split-sections"
160+ }
122161 - ghc : 9.6.2
123- 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" }
162+ platform :
163+ { image: "rockylinux:8"
164+ , installCmd: "yum -y install epel-release && yum install -y --allowerasing"
165+ , 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"
166+ , DISTRO: "Unknown"
167+ , ARTIFACT: "x86_64-linux-unknown"
168+ , ADD_CABAL_ARGS: "--enable-split-sections"
169+ }
124170 container :
125171 image : ${{ matrix.platform.image }}
126172 steps :
0 commit comments