Skip to content

Commit aad5381

Browse files
committed
Avoid target-less cabal build in CI
Without a specific target, cabal build will try to build everything. Certain plugins do not build with certain GHC versions (9.2 in particular). This is fine, since the haskell-language-server Cabal descriptor has per-ghc-version dependencies. To summarise, CI should be building specific targets
1 parent e824a19 commit aad5381

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,6 @@ jobs:
113113
ghc: ${{ matrix.ghc }}
114114
os: ${{ runner.os }}
115115

116-
# repeating builds to workaround segfaults in windows and ghc-8.8.4
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"
121-
run: cabal build || cabal build || cabal build
122-
123116
- name: Set test options
124117
# run the tests without parallelism, otherwise tasty will attempt to run
125118
# all functional test cases simultaneously which causes way too many hls

0 commit comments

Comments
 (0)