5757 strategy :
5858 fail-fast : true
5959 matrix :
60- ghc : [ "9.2.1 "
60+ ghc : [ "9.2.2 "
6161 , "9.0.2"
6262 , "9.0.1"
6363 , "8.10.7"
7171 include :
7272 # only test supported ghc major versions
7373 - os : ubuntu-latest
74- ghc : ' 9.2.1 '
74+ ghc : ' 9.2.2 '
7575 test : true
7676 - os : ubuntu-latest
7777 ghc : ' 9.0.2'
8686 ghc : ' 8.6.5'
8787 test : true
8888 - os : windows-latest
89- ghc : ' 9.2.1 '
89+ ghc : ' 9.2.2 '
9090 test : true
9191 - os : windows-latest
9292 ghc : ' 9.0.2'
@@ -115,6 +115,9 @@ jobs:
115115
116116 # repeating builds to workaround segfaults in windows and ghc-8.8.4
117117 - 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"
118121 run : cabal build || cabal build || cabal build
119122
120123 - name : Set test options
@@ -159,7 +162,7 @@ jobs:
159162 HLS_WRAPPER_TEST_EXE : hls-wrapper
160163 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"
161164
162- - if : matrix.test && matrix.ghc != '9.2.1 '
165+ - if : matrix.test && matrix.ghc != '9.2.2 '
163166 name : Test hls-brittany-plugin
164167 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"
165168
@@ -175,19 +178,19 @@ jobs:
175178 name : Test hls-pragmas-plugin
176179 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"
177180
178- - if : matrix.test && matrix.ghc != '9.2.1 '
181+ - if : matrix.test && matrix.ghc != '9.2.2 '
179182 name : Test hls-eval-plugin
180183 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"
181184
182- - if : matrix.test && matrix.ghc != '9.2.1 '
185+ - if : matrix.test && matrix.ghc != '9.2.2 '
183186 name : Test hls-haddock-comments-plugin
184187 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"
185188
186- - if : matrix.test && matrix.ghc != '9.2.1 '
189+ - if : matrix.test && matrix.ghc != '9.2.2 '
187190 name : Test hls-splice-plugin
188191 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"
189192
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 '
191194 name : Test hls-stylish-haskell-plugin
192195 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"
193196
@@ -199,7 +202,7 @@ jobs:
199202 name : Test hls-fourmolu-plugin
200203 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"
201204
202- - if : matrix.test && matrix.ghc != '9.2.1 '
205+ - if : matrix.test && matrix.ghc != '9.2.2 '
203206 name : Test hls-tactics-plugin test suite
204207 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"
205208
@@ -219,7 +222,7 @@ jobs:
219222 name : Test hls-rename-plugin test suite
220223 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"
221224
222- - if : matrix.test && matrix.ghc != '9.2.1 '
225+ - if : matrix.test && matrix.ghc != '9.2.2 '
223226 name : Test hls-hlint-plugin test suite
224227 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"
225228
0 commit comments