Skip to content

Commit

Permalink
Install autotools on Windows too
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Sep 2, 2024
1 parent de9d229 commit 8cf9533
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-

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

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

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

# Needed by cabal-testsuite/PackageTests/Configure/setup.test.hs
- name: "WIN: Install Autotools"
if: runner.os == 'Windows'
run: /usr/bin/pacman --noconfirm -S autotools

- name: Set validate inputs
run: |
FLAGS="${{ env.COMMON_FLAGS }}"
Expand Down

0 comments on commit 8cf9533

Please sign in to comment.