diff --git a/.github/workflows/other.yml b/.github/workflows/other.yml index acc9dcb..40fe21e 100644 --- a/.github/workflows/other.yml +++ b/.github/workflows/other.yml @@ -14,7 +14,7 @@ jobs: fail-fast: true matrix: os: [windows-latest, macOS-latest] - ghc: ['latest'] + ghc: ['7.10', 'latest'] steps: - uses: actions/checkout@v4 - uses: haskell-actions/setup@v2 @@ -36,6 +36,7 @@ jobs: cd zlib-*/ cabal build - name: Haddock + if: matrix.ghc != '7.10' run: | cd zlib-*/ cabal haddock diff --git a/zlib.cabal b/zlib.cabal index bf66684..a0f673b 100644 --- a/zlib.cabal +++ b/zlib.cabal @@ -90,6 +90,8 @@ library bytestring >= 0.9 && < 0.13 build-tools: hsc2hs >= 0.67 && < 0.69 + if os(windows) && impl(ghc < 8) + build-tools: hsc2hs < 0.68 -- GHC 7 ships hsc2hs-0.67 -- use `includes:` to include them when compiling