Skip to content

Commit

Permalink
removing GHC 8 and sdist from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Oct 21, 2024
1 parent 7aba18a commit 287f2a9
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
pull_request:
branches: [ 'master' ]

# env:
# autoconf_ver: 2.69

jobs:
autoconf:
runs-on: ubuntu-latest
Expand All @@ -30,35 +27,6 @@ jobs:
configure
include/HsNetworkConfig.h.in
sdist:
runs-on: ubuntu-latest
needs: autoconf

steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
cabal-version: 'latest'

- uses: actions/download-artifact@v4
with:
name: configure

- name: run sdist
run: |
cabal sdist
- uses: actions/upload-artifact@v4
with:
name: dist-tarball
path: dist-newstyle/sdist/network-*

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist-newstyle/sdist/network-*

build:
runs-on: ${{ matrix.os }}
needs: autoconf
Expand All @@ -67,10 +35,7 @@ jobs:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'macOS-latest', 'windows-latest' ]
ghc: [ '8.4', '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

0 comments on commit 287f2a9

Please sign in to comment.