CI: Work around GHC installation issues on Windows (#1430)

This should avoid nasty linker errors as observed in
https://gitlab.haskell.org/ghc/ghc/-/issues/21111 until the upstream tools can
be fixed.
This commit is contained in:
Ryan Scott 2022-09-08 15:57:13 -04:00 committed by GitHub
parent 39dea16096
commit 3d4492a058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,6 +93,14 @@ jobs:
with:
ghc-version: ${{ matrix.ghc-version }}
- name: Post-GHC installation fixups on Windows
shell: bash
if: runner.os == 'Windows'
run: |
# A workaround for https://github.com/Mistuke/CabalChoco/issues/5
cabal user-config update -a "extra-include-dirs: \"\""
cabal user-config update -a "extra-lib-dirs: \"\""
- uses: actions/cache@v2
name: Cache cabal store
with: