Skip to content

Commit

Permalink
Install pkg-config on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Jun 25, 2024
1 parent 5749297 commit ac9fab2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@ jobs:
cabal-version: latest # latest is mandatory for cabal-testsuite, see https://github.com/haskell/cabal/issues/8133
ghcup-release-channel: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml

- if: runner.os == 'windows'
name: Install windows dependencies
run: |
C:\msys64\usr\bin\bash -lc "pacman --disable-download-timeout --noconfirm -Syuu"
C:\msys64\usr\bin\bash -lc "pacman --disable-download-timeout --noconfirm -S mingw-w64-x86_64-pkg-config"
# Adjust cabal's configuration so it can find pkg-config
cabal user-config -a "extra-prog-path: C:\msys64\usr\bin"
# See the following link for a breakdown of the following step
# https://github.com/haskell/actions/issues/7#issuecomment-745697160
- uses: actions/cache@v4
Expand Down

0 comments on commit ac9fab2

Please sign in to comment.