Skip to content

Commit

Permalink
Up CI to cabal 3.6, add haddock step
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Feb 13, 2022
1 parent 8afdffd commit ac4714d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ jobs:
fail-fast: false
matrix:
versions:
- ghc: '8.10.5'
cabal: '3.4'
- ghc: '8.10.7'
cabal: '3.6'
- ghc: '8.8.4'
cabal: '3.4'
cabal: '3.6'
steps:
- uses: actions/checkout@v2

# need to install older cabal/ghc versions from ppa repository

- name: Install recent cabal/ghc
uses: haskell/actions/setup@v1
with:
Expand Down Expand Up @@ -58,9 +56,15 @@ jobs:
sudo apt-get install libbrotli-dev
cabal update
cabal build --dependencies-only --enable-tests --disable-optimization
- name: Build
run: |
cabal build --enable-tests --disable-optimization 2>&1 | tee build.log
- name: Test
run: |
cabal test --disable-optimization
- name: Haddock
run: |
cabal haddock --enable-tests --disable-optimization
2 changes: 1 addition & 1 deletion hackage-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ copyright: 2008-2015 Duncan Coutts,
license: BSD-3-Clause
license-file: LICENSE

tested-with: GHC == { 8.10.5, 8.8.4 }
tested-with: GHC == { 8.10.7, 8.8.4 }

data-dir: datafiles
data-files:
Expand Down

0 comments on commit ac4714d

Please sign in to comment.