57
57
strategy :
58
58
fail-fast : true
59
59
matrix :
60
- ghc : [ "9.2.1 "
60
+ ghc : [ "9.2.2 "
61
61
, "9.0.2"
62
62
, "9.0.1"
63
63
, "8.10.7"
71
71
include :
72
72
# only test supported ghc major versions
73
73
- os : ubuntu-latest
74
- ghc : ' 9.2.1 '
74
+ ghc : ' 9.2.2 '
75
75
test : true
76
76
- os : ubuntu-latest
77
77
ghc : ' 9.0.2'
86
86
ghc : ' 8.6.5'
87
87
test : true
88
88
- os : windows-latest
89
- ghc : ' 9.2.1 '
89
+ ghc : ' 9.2.2 '
90
90
test : true
91
91
- os : windows-latest
92
92
ghc : ' 9.0.2'
@@ -115,6 +115,9 @@ jobs:
115
115
116
116
# repeating builds to workaround segfaults in windows and ghc-8.8.4
117
117
- name : Build
118
+ # needed for GHC 9.2.2 https://github.com/digital-asset/ghc-lib/issues/352
119
+ env :
120
+ CPATH : " /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ffi:$CPATH"
118
121
run : cabal build || cabal build || cabal build
119
122
120
123
- name : Set test options
@@ -159,7 +162,7 @@ jobs:
159
162
HLS_WRAPPER_TEST_EXE : hls-wrapper
160
163
run : cabal test wrapper-test --test-options="$TEST_OPTS --rerun-log-file .tasty-rerun-log-wrapper" || cabal test wrapper-test --test-options="$TEST_OPTS --rerun-log-file .tasty-rerun-log-wrapper" || cabal test wrapper-test --test-options="$TEST_OPTS --rerun-log-file .tasty-rerun-log-wrapper"
161
164
162
- - if : matrix.test && matrix.ghc != '9.2.1 '
165
+ - if : matrix.test && matrix.ghc != '9.2.2 '
163
166
name : Test hls-brittany-plugin
164
167
run : cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-brittany-plugin --test-options="$TEST_OPTS"
165
168
@@ -175,19 +178,19 @@ jobs:
175
178
name : Test hls-pragmas-plugin
176
179
run : cabal test hls-pragmas-plugin --test-options="$TEST_OPTS" || cabal test hls-pragmas-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-pragmas-plugin --test-options="$TEST_OPTS"
177
180
178
- - if : matrix.test && matrix.ghc != '9.2.1 '
181
+ - if : matrix.test && matrix.ghc != '9.2.2 '
179
182
name : Test hls-eval-plugin
180
183
run : cabal test hls-eval-plugin --test-options="$TEST_OPTS" || cabal test hls-eval-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-eval-plugin --test-options="$TEST_OPTS"
181
184
182
- - if : matrix.test && matrix.ghc != '9.2.1 '
185
+ - if : matrix.test && matrix.ghc != '9.2.2 '
183
186
name : Test hls-haddock-comments-plugin
184
187
run : cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" || cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS"
185
188
186
- - if : matrix.test && matrix.ghc != '9.2.1 '
189
+ - if : matrix.test && matrix.ghc != '9.2.2 '
187
190
name : Test hls-splice-plugin
188
191
run : cabal test hls-splice-plugin --test-options="$TEST_OPTS" || cabal test hls-splice-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-splice-plugin --test-options="$TEST_OPTS"
189
192
190
- - if : matrix.test && matrix.ghc != '9.0.1' && matrix.ghc != '9.0.2' && matrix.ghc != '9.2.1 '
193
+ - if : matrix.test && matrix.ghc != '9.0.1' && matrix.ghc != '9.0.2' && matrix.ghc != '9.2.2 '
191
194
name : Test hls-stylish-haskell-plugin
192
195
run : cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS" || cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS"
193
196
@@ -199,7 +202,7 @@ jobs:
199
202
name : Test hls-fourmolu-plugin
200
203
run : cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" || cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS"
201
204
202
- - if : matrix.test && matrix.ghc != '9.2.1 '
205
+ - if : matrix.test && matrix.ghc != '9.2.2 '
203
206
name : Test hls-tactics-plugin test suite
204
207
run : cabal test hls-tactics-plugin --test-options="$TEST_OPTS" || cabal test hls-tactics-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="$TEST_OPTS"
205
208
@@ -219,7 +222,7 @@ jobs:
219
222
name : Test hls-rename-plugin test suite
220
223
run : cabal test hls-rename-plugin --test-options="$TEST_OPTS" || cabal test hls-rename-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-rename-plugin --test-options="$TEST_OPTS"
221
224
222
- - if : matrix.test && matrix.ghc != '9.2.1 '
225
+ - if : matrix.test && matrix.ghc != '9.2.2 '
223
226
name : Test hls-hlint-plugin test suite
224
227
run : cabal test hls-hlint-plugin --test-options="$TEST_OPTS" || cabal test hls-hlint-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-hlint-plugin --test-options="$TEST_OPTS"
225
228
0 commit comments