File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,9 @@ jobs:
255255 name : Test hls-notes-plugin test suite
256256 run : cabal test hls-notes-plugin-tests || cabal test hls-notes-plugin-tests
257257
258- - if : matrix.test
258+ # The plugin tutorial is only compatible with 9.6 and 9.8.
259+ # No particular reason, just to avoid excessive CPP.
260+ - if : matrix.test && matrix.ghc != '9.4' && matrix.ghc != '9.10' && matrix.ghc != '9.12'
259261 name : Compile the plugin-tutorial
260262 run : cabal build plugin-tutorial
261263
Original file line number Diff line number Diff line change @@ -2268,6 +2268,12 @@ test-suite ghcide-bench-test
22682268
22692269executable plugin-tutorial
22702270 import : defaults
2271+ -- The plugin tutorial is only compatible with 9.6 and 9.8.
2272+ -- No particular reason, just to avoid excessive CPP.
2273+ if (impl(ghc >= 9.6 ) && impl(ghc < 9.10 ))
2274+ buildable : True
2275+ else
2276+ buildable : False
22712277 ghc-options : -pgmL markdown-unlit
22722278 main-is : docs/contributing/plugin-tutorial.lhs
22732279 build-tool-depends : markdown-unlit :markdown-unlit
You can’t perform that action at this time.
0 commit comments