Skip to content

Commit

Permalink
CI: Work around GHC installation issues on Windows (#1738)
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 13, 2022
1 parent a31e031 commit a07490d
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 @@ -100,6 +100,14 @@ jobs:
with:
ghc-version: ${{ matrix.ghc }}

- 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: \"\""
- shell: bash
run: .github/ci.sh install_system_deps
env:
Expand Down

0 comments on commit a07490d

Please sign in to comment.