Skip to content

Commit 6f18db7

Browse files
committed
windows ci
1 parent 412c029 commit 6f18db7

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ jobs:
5454
if: runner.os == 'Linux' && !startsWith(matrix.container, 'alpine')
5555
run: sudo apt-get update && sudo apt-get install libgtk-3-dev
5656

57+
- name: Install system dependencies (Windows)
58+
if: ${{ startsWith(matrix.os, 'windows') }}
59+
uses: msys2/setup-msys2@v2
60+
with:
61+
path-type: inherit
62+
install: >-
63+
mingw-w64-x86_64-pkg-config
64+
mingw-w64-x86_64-gtk3
65+
5766
- name: Install system dependencies (macOS)
5867
if: runner.os == 'macOS'
5968
run: brew install cairo gtk+3 pkg-config
@@ -106,16 +115,6 @@ jobs:
106115
path: ${{ steps.setup.outputs.cabal-store }}
107116
key: ${{ steps.cache.outputs.cache-primary-key }}
108117

109-
- name: Install system dependencies (Windows)
110-
if: ${{ startsWith(matrix.os, 'windows') }}
111-
uses: msys2/setup-msys2@v2
112-
with:
113-
path-type: inherit
114-
install: >-
115-
mingw-w64-x86_64-pkg-config
116-
mingw-w64-x86_64-gtk3
117-
mingw-w64-x86_64-pango
118-
119118
- name: Build
120119
run: cabal build all
121120

0 commit comments

Comments
 (0)