Skip to content

Commit

Permalink
(wip) ci: Test with older GHC versions
Browse files Browse the repository at this point in the history
Related: xmonad#80
  • Loading branch information
liskin committed Oct 24, 2021
1 parent 21987cb commit 260d762
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
allow-failure: false
- compiler: ghc-8.4.4
allow-failure: false
- compiler: ghc-8.2.2
allow-failure: false
- compiler: ghc-8.0.2
allow-failure: false
- compiler: ghc-7.10.3
allow-failure: false
fail-fast: false
steps:
- name: apt
Expand Down Expand Up @@ -146,8 +152,8 @@ jobs:
touch cabal.project
touch cabal.project.local
echo "packages: ${PKGDIR_X11}" >> cabal.project
echo "package X11" >> cabal.project
echo " ghc-options: -Werror=missing-methods" >> cabal.project
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package X11" >> cabal.project ; fi
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
cat >> cabal.project <<EOF
package X11
flags: +pedantic
Expand Down
2 changes: 1 addition & 1 deletion X11.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license-file: LICENSE
copyright: Alastair Reid, 1999-2003, [email protected] 2003-2007,
Don Stewart 2007-2009, Spencer Janssen 2007-2009, Daniel Wagner 2009-2011.
maintainer: Daniel Wagner <[email protected]>
tested-with: GHC == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.4 || == 9.0.1
tested-with: GHC == 7.10.3 || == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.4 || == 9.0.1
category: Graphics
homepage: https://github.com/xmonad/X11
bug-reports: https://github.com/xmonad/X11/issues
Expand Down

0 comments on commit 260d762

Please sign in to comment.