Skip to content

Commit

Permalink
Add GHC 7.10 CI jobs for Windows and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Jan 30, 2024
1 parent e54f773 commit 6771a96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -36,6 +36,7 @@ jobs:
cd zlib-*/
cabal build
- name: Haddock
if: matrix.ghc != '7.10'
run: |
cd zlib-*/
cabal haddock
Expand Down
2 changes: 2 additions & 0 deletions zlib.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6771a96

Please sign in to comment.