Skip to content

Commit

Permalink
Make sure windows can generate configure too
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Oct 13, 2021
1 parent e0810e8 commit c8093c4
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/haskell.yml
Expand Up @@ -69,7 +69,7 @@ jobs:
- uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.4'
cabal-version: '3.4.1.0'

- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -101,6 +101,24 @@ jobs:
- name: Run tests
run: cabal test all

# check windows can generate autoconf too
- uses: msys2/setup-msys2@v2
if: matrix.os == 'windows-latest'
with:
update: true
install: autoconf
- if: matrix.os == 'windows-latest'
name: autoreconf
shell: msys2 {0}
run: |
rm configure include/HsNetworkConfig.h.in
autoreconf -i
- if: matrix.os == 'windows-latest'
name: Build
run: |
cabal clean
cabal build --enable-tests --disable-benchmarks all
sdist:
runs-on: ubuntu-latest

Expand Down

0 comments on commit c8093c4

Please sign in to comment.