Skip to content

Commit

Permalink
Unify msys2 installations
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Oct 21, 2023
1 parent 5ba617c commit 81edd8f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
uses: msys2/setup-msys2@v2
if: runner.os == 'Windows'
with:
msystem: UCRT64
msystem: MINGW64
release: false
path-type: inherit
update: true
install: >-
Expand Down Expand Up @@ -71,7 +72,7 @@ jobs:
with:
path: |
~/.local
D:\a\_temp\msys64\home\runneradmin\.local
C:\msys64\home\runneradmin\.local
key: ${{ runner.os }}-local-${{ env.CACHE_VERSION }}-${{ hashFiles('.github/scripts/install-*') }}

- name: Cache Stack & Cabal
Expand All @@ -92,11 +93,6 @@ jobs:
env:
HOST_OS: ${{ runner.os }}

- name: Install GMP in Stack MSYS2 (Windows)
if: runner.os == 'Windows'
run: |
stack exec -- pacman --noconfirm -S mingw-w64-x86_64-gmp
- name: Build Dependencies
run: |
stack build --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib --only-dependencies
Expand Down

0 comments on commit 81edd8f

Please sign in to comment.