Skip to content

Commit

Permalink
Allow and test with 8.10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
FinleyMcIlwaine committed Feb 13, 2024
1 parent 3c6618d commit fa8401e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This GitHub workflow config has been generated by a script via
#
# haskell-ci 'github' 'cabal.project'
# haskell-ci 'github' 'cabal.project' '--config' 'cabal.haskell-ci'
#
# To regenerate the script (for example after adjusting tested-with) run
#
Expand All @@ -10,7 +10,7 @@
#
# version: 0.17.20240109
#
# REGENDATA ("0.17.20240109",["github","cabal.project"])
# REGENDATA ("0.17.20240109",["github","cabal.project","--config","cabal.haskell-ci"])
#
name: Haskell-CI
on:
Expand Down Expand Up @@ -48,6 +48,11 @@ jobs:
compilerVersion: 9.2.8
setup-method: ghcup
allow-failure: false
- compiler: ghc-8.10.7
compilerKind: ghc
compilerVersion: 8.10.7
setup-method: ghcup
allow-failure: false
fail-fast: false
steps:
- name: apt
Expand Down Expand Up @@ -165,9 +170,8 @@ jobs:
source-repository-package
type: git
location: https://github.com/FinleyMcIlwaine/bos-snappy
tag: 373be55746d8b3c75e6e8f0a4d1dfebf3e3ad649
tag: b00b103a8c522aa3adde7e922537ab6b74f73eb0
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(snappy-c)$/; }' >> cabal.project.local
cat cabal.project
cat cabal.project.local
- name: dump install plan
Expand Down
2 changes: 2 additions & 0 deletions cabal.haskell-ci
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
apt: libsnappy-dev

installed: -all
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ packages: .
source-repository-package
type: git
location: https://github.com/FinleyMcIlwaine/bos-snappy
tag: 373be55746d8b3c75e6e8f0a4d1dfebf3e3ad649
tag: b00b103a8c522aa3adde7e922537ab6b74f73eb0
6 changes: 3 additions & 3 deletions snappy-c.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ category: Codec
build-type: Simple
extra-source-files: README.md
extra-doc-files: CHANGELOG.md
tested-with: GHC==9.2.8
tested-with: GHC==8.10.7
, GHC==9.2.8
, GHC==9.4.8
, GHC==9.6.4
, GHC==9.8.1
Expand All @@ -33,7 +34,7 @@ common lang
-Wprepositive-qualified-module
-Widentities
build-depends:
base >= 4.16 && < 4.20
base >= 4.14 && < 4.20
default-language:
Haskell2010
default-extensions:
Expand Down Expand Up @@ -101,7 +102,6 @@ executable snappy-cli
-threaded
-rtsopts

-- TODO bounds here
test-suite test-snappy-c
import:
lang
Expand Down

0 comments on commit fa8401e

Please sign in to comment.