1
1
stages :
2
2
- build
3
3
4
- # Used for ci setup in the gitlab mirror of the project:
5
- # https://gitlab.haskell.org/haskell/haskell-language-server/-/pipelines
6
4
variables :
7
5
# Commit of ghc/ci-images repository from which to pull Docker images
8
- DOCKER_REV : " 9e4c540d9e4972a36291dfdf81f079f37d748890 "
6
+ DOCKER_REV : " 572353e0644044fe3a5465bba4342a9a0b0eb60e "
9
7
10
8
GHC_VERSION : 9.2.3
11
9
CABAL_INSTALL_VERSION : 3.6.2.0
@@ -28,46 +26,25 @@ workflow:
28
26
paths :
29
27
- out/*
30
28
31
- build-aarch64-linux-deb10 :
32
- extends : .build
33
- tags :
34
- - aarch64-linux
35
- image : " registry.gitlab.haskell.org/ghc/ci-images/aarch64-linux-deb10:$DOCKER_REV"
36
- variables :
37
- TARBALL_ARCHIVE_SUFFIX : aarch64-linux-deb10
38
- TARBALL_EXT : tar.xz
39
- ADD_CABAL_ARGS : " "
40
-
41
- build-armv7-linux-deb10 :
42
- extends : .build
43
- tags :
44
- - armv7-linux
45
- image : " registry.gitlab.haskell.org/ghc/ci-images/armv7-linux-deb10:$DOCKER_REV"
46
- variables :
47
- TARBALL_ARCHIVE_SUFFIX : armv7-linux-deb1
48
- TARBALL_EXT : tar.xz
49
- ADD_CABAL_ARGS : " "
50
- # temp, because 3.6.2.0 is broken
51
- CABAL_INSTALL_VERSION : 3.4.0.0
52
- retry : 2
53
-
54
29
build-x86_64-linux :
55
30
extends : .build
31
+ parallel :
32
+ matrix :
33
+ - PLATFORM :
34
+ - i386-linux-deb9
35
+ - x86_64-linux-centos7
36
+ - x86_64-linux-deb9
37
+ - x86_64-linux-fedora33
38
+ - x86_64-linux-rocky8
39
+ - x86_64-linux-ubuntu18_04
40
+ - x86_64-linux-ubuntu20_04
41
+ - x86_64-linux-deb10
42
+ - x86_64-linux-deb11
56
43
tags :
57
44
- x86_64-linux
58
- image : " registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10 :$DOCKER_REV"
45
+ image : " registry.gitlab.haskell.org/ghc/ci-images/$PLATFORM :$DOCKER_REV"
59
46
variables :
60
- TARBALL_ARCHIVE_SUFFIX : x86_64-linux-deb10
61
- TARBALL_EXT : tar.xz
62
- ADD_CABAL_ARGS : " --enable-split-sections"
63
-
64
- build-x86_64-linux-deb11 :
65
- extends : .build
66
- tags :
67
- - x86_64-linux
68
- image : " registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb11:$DOCKER_REV"
69
- variables :
70
- TARBALL_ARCHIVE_SUFFIX : x86_64-linux-deb11
47
+ TARBALL_ARCHIVE_SUFFIX : $PLATFORM
71
48
TARBALL_EXT : tar.xz
72
49
ADD_CABAL_ARGS : " --enable-split-sections"
73
50
@@ -84,32 +61,6 @@ build-x86_64-linux-alpine:
84
61
TARBALL_EXT : tar.xz
85
62
ADD_CABAL_ARGS : " --enable-split-sections --enable-executable-static"
86
63
87
- build-i386-linux-alpine :
88
- extends : .build
89
- tags :
90
- - x86_64-linux
91
- image : " i386/alpine:3.12"
92
- before_script :
93
- # for GHC
94
- - apk add --no-cache bash curl gcc g++ binutils binutils-gold bsd-compat-headers gmp-dev ncurses-dev libffi-dev make xz tar perl
95
- # for cabal build
96
- - apk add --no-cache zlib zlib-dev zlib-static
97
- variables :
98
- TARBALL_ARCHIVE_SUFFIX : i386-linux-alpine
99
- TARBALL_EXT : tar.xz
100
- ADD_CABAL_ARGS : " --enable-split-sections --enable-executable-static"
101
- # temp, because 3.6.2.0 is broken
102
- CABAL_INSTALL_VERSION : 3.4.0.0
103
-
104
- build-x86_64-freebsd12 :
105
- extends : .build
106
- tags :
107
- - x86_64-freebsd12
108
- variables :
109
- TARBALL_ARCHIVE_SUFFIX : x86_64-freebsd12
110
- TARBALL_EXT : tar.xz
111
- ADD_CABAL_ARGS : " --enable-split-sections"
112
-
113
64
build-x86_64-darwin :
114
65
extends : .build
115
66
tags :
0 commit comments