File tree Expand file tree Collapse file tree 3 files changed +18
-101
lines changed Expand file tree Collapse file tree 3 files changed +18
-101
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,18 @@ variables:
11
11
CABAL_INSTALL_VERSION : 3.6.2.0
12
12
13
13
.default_matrix : &default_matrix
14
+ matrix :
15
+ - GHC_VERSION : 8.8.4
16
+ CABAL_PROJECT : cabal.project
17
+ - GHC_VERSION : 8.10.7
18
+ CABAL_PROJECT : cabal.project
19
+ - GHC_VERSION : 9.0.2
20
+ CABAL_PROJECT : cabal-ghc90.project
21
+ - GHC_VERSION : 9.2.1
22
+ CABAL_PROJECT : cabal-ghc921.project
23
+
24
+ # ghc-9.2.1 is broken for bsd
25
+ .freebsd_matrix : &freebsd_matrix
14
26
matrix :
15
27
- GHC_VERSION : 8.8.4
16
28
CABAL_PROJECT : cabal.project
@@ -148,9 +160,9 @@ build-x86_64-freebsd12:
148
160
extends : .build
149
161
tags :
150
162
- x86_64-freebsd12
151
- parallel : *default_matrix
163
+ parallel : *freebsd_matrix
152
164
variables :
153
- ADD_CABAL_ARGS : " --enable-split-sections"
165
+ ADD_CABAL_ARGS : " --enable-split-sections -j1 "
154
166
155
167
tar-x86_64-freebsd12 :
156
168
extends : .artifacts
@@ -168,13 +180,13 @@ build-x86_64-freebsd13:
168
180
extends : .build
169
181
tags :
170
182
- x86_64-freebsd13
171
- parallel : *default_matrix
183
+ parallel : *freebsd_matrix
172
184
before_script :
173
185
- sudo pkg update
174
186
- sudo pkg install --yes compat12x-amd64
175
187
- sudo ln -s libncurses.so.6 /usr/local/lib/libncurses.so.6.2
176
188
variables :
177
- ADD_CABAL_ARGS : " --enable-split-sections"
189
+ ADD_CABAL_ARGS : " --enable-split-sections -j1 "
178
190
179
191
tar-x86_64-freebsd13 :
180
192
extends : .artifacts
Original file line number Diff line number Diff line change @@ -45,11 +45,6 @@ case "$(uname -s)" in
45
45
;;
46
46
esac
47
47
48
- # some alpines need workaround
49
- if ghc --info | grep -q integer-simple ; then
50
- echo -e ' package blaze-textual\n flags: +integer-simple' >> cabal.project.local
51
- fi
52
-
53
48
# Shorten binary names
54
49
sed -i.bak -e ' s/haskell-language-server/hls/g' \
55
50
-e ' s/haskell_language_server/hls/g' \
@@ -58,9 +53,9 @@ sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
58
53
src/** /* .hs exe/* .hs
59
54
60
55
args=(
61
- -O2
56
+ -O2
62
57
-w " ghc-$GHC_VERSION "
63
- --project-file " $CABAL_PROJECT "
58
+ --project-file " $CABAL_PROJECT "
64
59
--disable-profiling
65
60
--disable-tests
66
61
--enable-executable-stripping
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments