Skip to content

Commit

Permalink
Add more 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 a7a134c
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', '8.0', '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.8
-- GHC 7 ships hsc2hs-0.67

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

0 comments on commit a7a134c

Please sign in to comment.