Skip to content

Commit a4b3481

Browse files
committed
Add linux mint builds
1 parent 73b02ef commit a4b3481

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

.gitlab-ci.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,16 @@ workflow:
9090
- x86_64-linux
9191
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-alpine3_12:$DOCKER_REV"
9292

93+
.x86_64-linux-mint19:
94+
tags:
95+
- x86_64-linux
96+
image: "linuxmintd/mint19.3-amd64"
97+
98+
.x86_64-linux-mint20:
99+
tags:
100+
- x86_64-linux
101+
image: "linuxmintd/mint20.2-amd64"
102+
93103

94104
######################
95105
# aarch64 linux deb10
@@ -267,6 +277,82 @@ test-x86_64-linux-centos7:
267277
before_script:
268278
- sudo yum install -y tree
269279

280+
###########################
281+
# x86_64 linux Mint19.3
282+
###########################
283+
284+
build-x86_64-linux-mint19:
285+
extends:
286+
- .build
287+
- .x86_64-linux-mint19
288+
before_script:
289+
- apt update
290+
- apt install -y build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 zlib1g-dev patchelf tree
291+
variables:
292+
ADD_CABAL_ARGS: "--enable-split-sections"
293+
294+
tar-x86_64-linux-mint19:
295+
extends:
296+
- .artifacts
297+
- .x86_64-linux-mint19
298+
stage: tar
299+
needs: ["build-x86_64-linux-mint19"]
300+
script:
301+
- ./.gitlab/tar.sh
302+
variables:
303+
TARBALL_ARCHIVE_SUFFIX: x86_64-mint19.3-linux
304+
TARBALL_EXT: tar.xz
305+
before_script:
306+
- apt update
307+
- apt install -y make tar xz-utils curl
308+
309+
test-x86_64-linux-mint19:
310+
extends:
311+
- .test
312+
- .x86_64-linux-mint19
313+
needs: ["tar-x86_64-linux-mint19"]
314+
before_script:
315+
- apt update
316+
- apt install -y tree patchelf make curl build-essential
317+
318+
###########################
319+
# x86_64 linux Mint20
320+
###########################
321+
322+
build-x86_64-linux-mint20:
323+
extends:
324+
- .build
325+
- .x86_64-linux-mint20
326+
before_script:
327+
- apt update
328+
- apt install -y build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 zlib1g-dev patchelf tree
329+
variables:
330+
ADD_CABAL_ARGS: "--enable-split-sections"
331+
332+
tar-x86_64-linux-mint20:
333+
extends:
334+
- .artifacts
335+
- .x86_64-linux-mint20
336+
stage: tar
337+
needs: ["build-x86_64-linux-mint20"]
338+
script:
339+
- ./.gitlab/tar.sh
340+
variables:
341+
TARBALL_ARCHIVE_SUFFIX: x86_64-mint20.2-linux
342+
TARBALL_EXT: tar.xz
343+
before_script:
344+
- apt update
345+
- apt install -y make tar xz-utils curl
346+
347+
test-x86_64-linux-mint20:
348+
extends:
349+
- .test
350+
- .x86_64-linux-mint20
351+
needs: ["tar-x86_64-linux-mint20"]
352+
before_script:
353+
- apt update
354+
- apt install -y tree patchelf make curl build-essential
355+
270356
######################
271357
# x86_64 linux fedora33
272358
######################

0 commit comments

Comments
 (0)