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 8785d14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 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 @@ -35,7 +35,12 @@ jobs:
cabal get zlib-*.tar.gz
cd zlib-*/
cabal build
- name: Test
run: |
cd zlib-*/
cabal test
- 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.9
-- GHC 7 ships hsc2hs-0.67

-- use `includes:` to include them when compiling
Expand Down

0 comments on commit 8785d14

Please sign in to comment.