Skip to content

Commit 472955e

Browse files
committed
Add more distros
1 parent 58dab4f commit 472955e

File tree

1 file changed

+109
-5
lines changed

1 file changed

+109
-5
lines changed

.gitlab-ci.yml

Lines changed: 109 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ test-armv7-linux-deb10:
128128
# x86_64 linux deb10
129129
######################
130130

131-
build-x86_64-linux:
131+
build-x86_64-linux-deb10:
132132
extends: .build
133133
before_script:
134134
- sudo apt update
@@ -139,10 +139,10 @@ build-x86_64-linux:
139139
variables:
140140
ADD_CABAL_ARGS: "--enable-split-sections"
141141

142-
tar-x86_64-linux:
142+
tar-x86_64-linux-deb10:
143143
extends: .artifacts
144144
stage: tar
145-
needs: ["build-x86_64-linux"]
145+
needs: ["build-x86_64-linux-deb10"]
146146
tags:
147147
- x86_64-linux
148148
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:$DOCKER_REV"
@@ -152,13 +152,117 @@ tar-x86_64-linux:
152152
TARBALL_ARCHIVE_SUFFIX: x86_64-deb10-linux
153153
TARBALL_EXT: tar.xz
154154

155-
test-x86_64-linux:
155+
test-x86_64-linux-deb10:
156156
extends: .test
157-
needs: ["tar-x86_64-linux"]
157+
needs: ["tar-x86_64-linux-deb10"]
158158
tags:
159159
- x86_64-linux
160160
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:$DOCKER_REV"
161161

162+
######################
163+
# x86_64 linux deb9
164+
######################
165+
166+
build-x86_64-linux-deb9:
167+
extends: .build
168+
before_script:
169+
- sudo apt update
170+
- sudo apt install -y patchelf
171+
tags:
172+
- x86_64-linux
173+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
174+
variables:
175+
ADD_CABAL_ARGS: "--enable-split-sections"
176+
177+
tar-x86_64-linux-deb9:
178+
extends: .artifacts
179+
stage: tar
180+
needs: ["build-x86_64-linux-deb9"]
181+
tags:
182+
- x86_64-linux
183+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
184+
script:
185+
- ./.gitlab/tar.sh
186+
variables:
187+
TARBALL_ARCHIVE_SUFFIX: x86_64-deb9-linux
188+
TARBALL_EXT: tar.xz
189+
190+
test-x86_64-linux-deb9:
191+
extends: .test
192+
needs: ["tar-x86_64-linux-deb9"]
193+
tags:
194+
- x86_64-linux
195+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
196+
197+
######################
198+
# x86_64 linux centos7
199+
######################
200+
201+
build-x86_64-linux-centos7:
202+
extends: .build
203+
before_script:
204+
- sudo yum install -y epel-release
205+
- sudo yum install -y patchelf
206+
tags:
207+
- x86_64-linux
208+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-centos7:$DOCKER_REV"
209+
variables:
210+
ADD_CABAL_ARGS: "--enable-split-sections"
211+
212+
tar-x86_64-linux-centos7:
213+
extends: .artifacts
214+
stage: tar
215+
needs: ["build-x86_64-linux-centos7"]
216+
tags:
217+
- x86_64-linux
218+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-centos7:$DOCKER_REV"
219+
script:
220+
- ./.gitlab/tar.sh
221+
variables:
222+
TARBALL_ARCHIVE_SUFFIX: x86_64-centos7-linux
223+
TARBALL_EXT: tar.xz
224+
225+
test-x86_64-linux-centos7:
226+
extends: .test
227+
needs: ["tar-x86_64-linux-centos7"]
228+
tags:
229+
- x86_64-linux
230+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-centos7:$DOCKER_REV"
231+
232+
######################
233+
# x86_64 linux fedora27
234+
######################
235+
236+
build-x86_64-linux-fedora27:
237+
extends: .build
238+
before_script:
239+
- sudo dnf install -y patchelf
240+
tags:
241+
- x86_64-linux
242+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-fedora27:$DOCKER_REV"
243+
variables:
244+
ADD_CABAL_ARGS: "--enable-split-sections"
245+
246+
tar-x86_64-linux-fedora27:
247+
extends: .artifacts
248+
stage: tar
249+
needs: ["build-x86_64-linux-fedora27"]
250+
tags:
251+
- x86_64-linux
252+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-fedora27:$DOCKER_REV"
253+
script:
254+
- ./.gitlab/tar.sh
255+
variables:
256+
TARBALL_ARCHIVE_SUFFIX: x86_64-fedora27-linux
257+
TARBALL_EXT: tar.xz
258+
259+
test-x86_64-linux-fedora27:
260+
extends: .test
261+
needs: ["tar-x86_64-linux-fedora27"]
262+
tags:
263+
- x86_64-linux
264+
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-fedora27:$DOCKER_REV"
265+
162266

163267
######################
164268
# x86_64 linux alpine

0 commit comments

Comments
 (0)