From 3d4492a058fddd5dc0034b0986dfdd3f589d3213 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Thu, 8 Sep 2022 15:57:13 -0400 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08b076c3..3c6b00fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: