Skip to content

Commit

Permalink
Add more GHC versions to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tbidne committed Aug 28, 2024
1 parent 8779f26 commit a57e4eb
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
31 changes: 30 additions & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,39 @@ jobs:
# number instances is a good way to trigger flaky build failures
n: [1]

ghc: ["8.10.7"]
ghc:
- "8.0.2"
- "8.2.2"
- "8.4.4"
- "8.6.5"
- "8.8.4"
- "8.10.7"
- "9.0.2"
- "9.2.8"
- "9.4.8"
- "9.6.6"
- "9.8.2"
- "9.10.1"
# FIXME: Add windows-latest back to CI once it is passing.
os: [ubuntu-latest, macos-latest]

# Action fails to install GHC < 8.10 on OSX with a generic error
# messsage:
#
# Error: All install methods for ghc 8.0.2 failed
#
# On the other hand, 8.10 and 9.0 fail due to LLVM:
#
# Warning: Couldn't figure out LLVM version!
# Make sure you have installed LLVM between [9 and 13)
exclude:
- {ghc: "8.0.2", os: "macos-latest"}
- {ghc: "8.2.2", os: "macos-latest"}
- {ghc: "8.4.4", os: "macos-latest"}
- {ghc: "8.6.5", os: "macos-latest"}
- {ghc: "8.8.4", os: "macos-latest"}
- {ghc: "8.10.7", os: "macos-latest"}
- {ghc: "9.0.2", os: "macos-latest"}
env:
# OpenSSL is installed in a non-standard location in MacOS. See
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-latest-Readme.md
Expand Down
13 changes: 12 additions & 1 deletion HsOpenSSL.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@ Bug-Reports: https://github.com/haskell-cryptography/HsOpenSSL/issues
Category: Cryptography
Cabal-Version: 1.12
Tested-With:
GHC==8.8.1, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3
GHC ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.6
|| ==9.8.1
|| ==9.10.1
Build-Type: Custom
Extra-Source-Files:
AUTHORS
Expand Down

0 comments on commit a57e4eb

Please sign in to comment.