Skip to content

Commit 92d6184

Browse files
Allow and test with 8.10.7
1 parent 3c6618d commit 92d6184

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This GitHub workflow config has been generated by a script via
22
#
3-
# haskell-ci 'github' 'cabal.project'
3+
# haskell-ci 'github' 'cabal.project' '--config' 'cabal.haskell-ci'
44
#
55
# To regenerate the script (for example after adjusting tested-with) run
66
#
@@ -10,7 +10,7 @@
1010
#
1111
# version: 0.17.20240109
1212
#
13-
# REGENDATA ("0.17.20240109",["github","cabal.project"])
13+
# REGENDATA ("0.17.20240109",["github","cabal.project","--config","cabal.haskell-ci"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -48,6 +48,11 @@ jobs:
4848
compilerVersion: 9.2.8
4949
setup-method: ghcup
5050
allow-failure: false
51+
- compiler: ghc-8.10.7
52+
compilerKind: ghc
53+
compilerVersion: 8.10.7
54+
setup-method: ghcup
55+
allow-failure: false
5156
fail-fast: false
5257
steps:
5358
- name: apt
@@ -165,9 +170,9 @@ jobs:
165170
source-repository-package
166171
type: git
167172
location: https://github.com/FinleyMcIlwaine/bos-snappy
168-
tag: 373be55746d8b3c75e6e8f0a4d1dfebf3e3ad649
173+
tag: b00b103a8c522aa3adde7e922537ab6b74f73eb0
169174
EOF
170-
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(snappy-c)$/; }' >> cabal.project.local
175+
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(bytestring|snappy-c)$/; }' >> cabal.project.local
171176
cat cabal.project
172177
cat cabal.project.local
173178
- name: dump install plan

cabal.haskell-ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
apt: libsnappy-dev
2+
3+
installed: -bytestring

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ packages: .
33
source-repository-package
44
type: git
55
location: https://github.com/FinleyMcIlwaine/bos-snappy
6-
tag: 373be55746d8b3c75e6e8f0a4d1dfebf3e3ad649
6+
tag: b00b103a8c522aa3adde7e922537ab6b74f73eb0

snappy-c.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ category: Codec
1717
build-type: Simple
1818
extra-source-files: README.md
1919
extra-doc-files: CHANGELOG.md
20-
tested-with: GHC==9.2.8
20+
tested-with: GHC==8.10.7
21+
, GHC==9.2.8
2122
, GHC==9.4.8
2223
, GHC==9.6.4
2324
, GHC==9.8.1
@@ -33,7 +34,7 @@ common lang
3334
-Wprepositive-qualified-module
3435
-Widentities
3536
build-depends:
36-
base >= 4.16 && < 4.20
37+
base >= 4.14 && < 4.20
3738
default-language:
3839
Haskell2010
3940
default-extensions:
@@ -101,7 +102,6 @@ executable snappy-cli
101102
-threaded
102103
-rtsopts
103104

104-
-- TODO bounds here
105105
test-suite test-snappy-c
106106
import:
107107
lang

0 commit comments

Comments
 (0)