@@ -105,22 +105,67 @@ jobs:
105
105
}
106
106
]
107
107
# 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.
111
115
include :
112
116
- 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
+ }
114
125
- 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
+ }
116
134
- 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", installCmd: "yum -y install epel-release && yum install -y --allowerasing"
137
+ , 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"
138
+ , DISTRO: "Unknown"
139
+ , ARTIFACT: "x86_64-linux-unknown"
140
+ , ADD_CABAL_ARGS: "--enable-split-sections"
141
+ }
118
142
- 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" }
143
+ platform :
144
+ { image: "fedora:27"
145
+ , installCmd: "dnf install -y"
146
+ , 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"
147
+ , DISTRO: "Unknown"
148
+ , ARTIFACT: "x86_64-linux-unknown"
149
+ , ADD_CABAL_ARGS: "--enable-split-sections"
150
+ }
120
151
- 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" }
152
+ platform :
153
+ { image: "fedora:27"
154
+ , installCmd: "dnf install -y"
155
+ , 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"
156
+ , DISTRO: "Unknown"
157
+ , ARTIFACT: "x86_64-linux-unknown"
158
+ , ADD_CABAL_ARGS: "--enable-split-sections"
159
+ }
122
160
- 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" }
161
+ platform :
162
+ { image: "rockylinux:8"
163
+ , installCmd: "yum -y install epel-release && yum install -y --allowerasing"
164
+ , 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"
165
+ , DISTRO: "Unknown"
166
+ , ARTIFACT: "x86_64-linux-unknown"
167
+ , ADD_CABAL_ARGS: "--enable-split-sections"
168
+ }
124
169
container :
125
170
image : ${{ matrix.platform.image }}
126
171
steps :
0 commit comments