Skip to content

Commit

Permalink
removing autoconf
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Oct 21, 2024
1 parent fd27164 commit d73cd1f
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,9 @@ on:
pull_request:
branches: [ 'master' ]

# env:
# autoconf_ver: 2.69

jobs:
autoconf:
runs-on: ubuntu-latest
# container: ubuntu:22.10

steps:
- uses: actions/checkout@v4
- name: install autoconf
run: |
sudo apt-get update -y -qq
sudo apt-get install -y -qq build-essential autoconf${{ env.autoconf_ver }}
- name: run autoreconf
run: |
autoreconf${{ env.autoconf_ver }} -fi
- uses: actions/upload-artifact@v4
with:
name: configure
path: |
configure
include/HsNetworkConfig.h.in
sdist:
runs-on: ubuntu-latest
needs: autoconf

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -61,16 +37,12 @@ jobs:

build:
runs-on: ${{ matrix.os }}
needs: autoconf

strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'macOS-latest', 'windows-latest' ]
ghc: [ '8.10', '9.4', '9.6', '9.8' ]
# Dependency hsc2hs does not build on Windows with GHC < 8.4
# so we test 8.4 as lowest.
# See https://github.com/haskell/hsc2hs/issues/81
ghc: [ '9.4', '9.6', '9.8' ]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -135,20 +107,6 @@ jobs:
run: |
cabal haddock --disable-documentation
# check windows can generate autoconf too
- uses: msys2/setup-msys2@v2
if: ${{ runner.os == 'Windows' }}
with:
update: true
install: autoconf

- name: Autoreconf (Windows)
if: ${{ runner.os == 'Windows' }}
shell: msys2 {0}
run: |
rm configure include/HsNetworkConfig.h.in
autoreconf -i
- name: Build (Windows)
if: ${{ runner.os == 'Windows' }}
run: |
Expand Down

0 comments on commit d73cd1f

Please sign in to comment.