Skip to content

Commit 46502c8

Browse files
committed
Disable ghc-8.10.2 on windows due to linker path issue
1 parent babe125 commit 46502c8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
ghc: ['8.10.2', '8.10.1', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
1919
os: [ubuntu-latest, macOS-latest, windows-latest]
2020
exclude:
21+
- os: windows-latest
22+
ghc: '8.10.2' # broken due to https://gitlab.haskell.org/ghc/ghc/-/issues/18550
2123
- os: windows-latest
2224
ghc: '8.8.4' # also fails due to segfault :(
2325
- os: windows-latest
@@ -94,11 +96,11 @@ jobs:
9496
path: ${{ steps.compress_server_binary.outputs.path }}
9597

9698
- name: Build Wrapper
97-
if: matrix.ghc == '8.10.2'
99+
if: matrix.ghc == '8.10.1'
98100
run: cabal build exe:hls-wrapper -O2 $LINUX_CABAL_ARGS
99101

100102
- name: Compress Wrapper Binary
101-
if: matrix.ghc == '8.10.2'
103+
if: matrix.ghc == '8.10.1'
102104
id: compress_wrapper_binary
103105
run: |
104106
HLS_WRAPPER_BUILD=$(find dist-newstyle \( -name 'hls-wrapper' -o -name 'hls-wrapper.exe' \) -type f)
@@ -117,7 +119,7 @@ jobs:
117119
fi
118120
119121
- name: Upload Wrapper
120-
if: matrix.ghc == '8.10.2'
122+
if: matrix.ghc == '8.10.1'
121123
uses: actions/upload-release-asset@v1.0.2
122124
env:
123125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -128,7 +130,7 @@ jobs:
128130
asset_content_type: ${{ steps.compress_wrapper_binary.outputs.content_type}}
129131

130132
- uses: actions/upload-artifact@v2
131-
if: matrix.ghc == '8.10.2'
133+
if: matrix.ghc == '8.10.1'
132134
with:
133135
name: haskell-language-server-wrapper-${{ runner.OS }}${{env.EXE_EXT}}.${{ steps.compress_wrapper_binary.outputs.extension }}
134136
path: ${{ steps.compress_wrapper_binary.outputs.path }}

0 commit comments

Comments
 (0)