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:
1111 CABAL_INSTALL_VERSION : 3.6.2.0
1212
1313.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
1426 matrix :
1527 - GHC_VERSION : 8.8.4
1628 CABAL_PROJECT : cabal.project
@@ -148,9 +160,9 @@ build-x86_64-freebsd12:
148160 extends : .build
149161 tags :
150162 - x86_64-freebsd12
151- parallel : *default_matrix
163+ parallel : *freebsd_matrix
152164 variables :
153- ADD_CABAL_ARGS : " --enable-split-sections"
165+ ADD_CABAL_ARGS : " --enable-split-sections -j1 "
154166
155167tar-x86_64-freebsd12 :
156168 extends : .artifacts
@@ -168,13 +180,13 @@ build-x86_64-freebsd13:
168180 extends : .build
169181 tags :
170182 - x86_64-freebsd13
171- parallel : *default_matrix
183+ parallel : *freebsd_matrix
172184 before_script :
173185 - sudo pkg update
174186 - sudo pkg install --yes compat12x-amd64
175187 - sudo ln -s libncurses.so.6 /usr/local/lib/libncurses.so.6.2
176188 variables :
177- ADD_CABAL_ARGS : " --enable-split-sections"
189+ ADD_CABAL_ARGS : " --enable-split-sections -j1 "
178190
179191tar-x86_64-freebsd13 :
180192 extends : .artifacts
Original file line number Diff line number Diff line change @@ -45,11 +45,6 @@ case "$(uname -s)" in
4545 ;;
4646esac
4747
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-
5348# Shorten binary names
5449sed -i.bak -e ' s/haskell-language-server/hls/g' \
5550 -e ' s/haskell_language_server/hls/g' \
@@ -58,9 +53,9 @@ sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
5853 src/** /* .hs exe/* .hs
5954
6055args=(
61- -O2
56+ -O2
6257 -w " ghc-$GHC_VERSION "
63- --project-file " $CABAL_PROJECT "
58+ --project-file " $CABAL_PROJECT "
6459 --disable-profiling
6560 --disable-tests
6661 --enable-executable-stripping
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments