Skip to content

Commit

Permalink
CI: Work around GHC installation issues on Windows (#1430)
Browse files Browse the repository at this point in the history
This should avoid nasty linker errors as observed in
https://gitlab.haskell.org/ghc/ghc/-/issues/21111 until the upstream tools can
be fixed.
  • Loading branch information
RyanGlScott authored Sep 8, 2022
1 parent 39dea16 commit 3d4492a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3d4492a

Please sign in to comment.