Skip to content

Commit 44486b9

Browse files
jasagredoMikolaj
authored andcommitted
Install autotools on Windows too
(cherry picked from commit 8cf9533)
1 parent 13e15d7 commit 44486b9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/validate.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
134134
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
135135

136-
- name: Work around git problem https://bugs.launchpad.net/ubuntu/+source/git/+bug/1993586 (cabal PR #8546)
136+
- name: "Work around git problem https://bugs.launchpad.net/ubuntu/+source/git/+bug/1993586 (cabal PR #8546)"
137137
run: git config --global protocol.file.allow always
138138

139139
# The tool is not essential to the rest of the test suite. If
@@ -146,10 +146,15 @@ jobs:
146146
run: cabal install --ignore-project hackage-repo-tool
147147

148148
# Needed by cabal-testsuite/PackageTests/Configure/setup.test.hs
149-
- name: Install Autotools
149+
- name: "MAC: Install Autotools"
150150
if: runner.os == 'macOS'
151151
run: brew install automake
152152

153+
# Needed by cabal-testsuite/PackageTests/Configure/setup.test.hs
154+
- name: "WIN: Install Autotools"
155+
if: runner.os == 'Windows'
156+
run: /usr/bin/pacman --noconfirm -S autotools
157+
153158
- name: Set validate inputs
154159
run: |
155160
FLAGS="${{ env.COMMON_FLAGS }}"

0 commit comments

Comments
 (0)