Skip to content

Commit b5e4e54

Browse files
committed
Workaround for GHC 8.10.5 on macOS
1 parent be2071e commit b5e4e54

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
ghc: '8.8.3' # fails due to segfault
2828
- os: windows-latest
2929
ghc: '8.8.2' # fails due to error with Cabal
30-
- os: macOS-latest
31-
ghc: '8.10.5' # https://gitlab.haskell.org/ghc/ghc/-/issues/19968
3230
include:
3331
- os: windows-latest
3432
ghc: '8.10.2.2' # only available for windows and choco
@@ -74,6 +72,14 @@ jobs:
7472
run: |
7573
echo "GHC_VERSION=$GHC_VER" >> $GITHUB_ENV
7674
75+
- name: Tentative Workaround for GHC 8.10.5 on macOS
76+
if: matrix.os == 'macOS-latest' && matrix.ghc == '8.10.5'
77+
env:
78+
GHC_VER: ${{ matrix.ghc }}
79+
run: |
80+
echo "# uninstalling CommandLineTools (see https://github.com/haskell/haskell-language-server/issues/1913#issuecomment-861667786)"
81+
sudo rm -rf /Library/Developer/CommandLineTools
82+
7783
- name: Build Server
7884
# Try building it twice in case of flakey builds on Windows
7985
run: |

0 commit comments

Comments
 (0)