Skip to content

Commit 345e35b

Browse files
committed
Support GHC-9.14
1 parent e44124f commit 345e35b

4 files changed

Lines changed: 73 additions & 5 deletions

File tree

.github/workflows/haskell-ci.yml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.19.20260102
11+
# version: 0.19.20260104
1212
#
13-
# REGENDATA ("0.19.20260102",["github","cabal.project"])
13+
# REGENDATA ("0.19.20260104",["github","cabal.project"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -35,6 +35,11 @@ jobs:
3535
strategy:
3636
matrix:
3737
include:
38+
- compiler: ghc-9.14.1
39+
compilerKind: ghc
40+
compilerVersion: 9.14.1
41+
setup-method: ghcup
42+
allow-failure: false
3843
- compiler: ghc-9.12.2
3944
compilerKind: ghc
4045
compilerVersion: 9.12.2
@@ -226,6 +231,36 @@ jobs:
226231
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo "package splitmix-tests" >> cabal.project ; fi
227232
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo " ghc-options: -Werror=incomplete-patterns -Werror=incomplete-uni-patterns" >> cabal.project ; fi
228233
cat >> cabal.project <<EOF
234+
allow-newer: parallel-3.3.0.0:base
235+
allow-newer: vector-th-unbox-0.2.2:base
236+
allow-newer: vector-th-unbox-0.2.2:template-haskell
237+
allow-newer: microstache-1.0.3:base
238+
allow-newer: microstache-1.0.3:containers
239+
allow-newer: scientific-0.3.8.0:base
240+
allow-newer: scientific-0.3.8.0:template-haskell
241+
allow-newer: scientific-0.3.8.0:containers
242+
allow-newer: integer-logarithms-1.0.4:base
243+
allow-newer: integer-logarithms-1.0.4:ghc-bignum
244+
allow-newer: binary-orphans-1.0.5:base
245+
allow-newer: indexed-traversable-0.1.4:base
246+
allow-newer: indexed-traversable-0.1.4:containers
247+
allow-newer: indexed-traversable-instances-0.1.2:base
248+
allow-newer: time-compat-1.9.8:base
249+
allow-newer: these-1.2.1:base
250+
allow-newer: semialign-1.3.1:base
251+
allow-newer: semialign-1.3.1:containers
252+
allow-newer: integer-conversion-0.1.1:base
253+
allow-newer: aeson-2.2.3.0:base
254+
allow-newer: aeson-2.2.3.0:template-haskell
255+
allow-newer: aeson-2.2.3.0:containers
256+
allow-newer: aeson-2.2.3.0:time
257+
allow-newer: uuid-types-1.0.6:base
258+
allow-newer: uuid-types-1.0.6:template-haskell
259+
allow-newer: async-2.2.5:base
260+
allow-newer: time-compat-1.9.8:time
261+
allow-newer: text-iso8601-0.1.1:time
262+
allow-newer: test-framework-0.8.2.2:time
263+
allow-newer: hsc2hs-0.68.10:base
229264
EOF
230265
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(splitmix|splitmix-tests)$/; }' >> cabal.project.local
231266
cat cabal.project

cabal.project

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,34 @@ packages: splitmix-tests
33

44
tests: True
55
benchmarks: True
6+
7+
allow-newer: parallel-3.3.0.0:base
8+
allow-newer: vector-th-unbox-0.2.2:base
9+
allow-newer: vector-th-unbox-0.2.2:template-haskell
10+
allow-newer: microstache-1.0.3:base
11+
allow-newer: microstache-1.0.3:containers
12+
allow-newer: scientific-0.3.8.0:base
13+
allow-newer: scientific-0.3.8.0:template-haskell
14+
allow-newer: scientific-0.3.8.0:containers
15+
allow-newer: integer-logarithms-1.0.4:base
16+
allow-newer: integer-logarithms-1.0.4:ghc-bignum
17+
allow-newer: binary-orphans-1.0.5:base
18+
allow-newer: indexed-traversable-0.1.4:base
19+
allow-newer: indexed-traversable-0.1.4:containers
20+
allow-newer: indexed-traversable-instances-0.1.2:base
21+
allow-newer: time-compat-1.9.8:base
22+
allow-newer: these-1.2.1:base
23+
allow-newer: semialign-1.3.1:base
24+
allow-newer: semialign-1.3.1:containers
25+
allow-newer: integer-conversion-0.1.1:base
26+
allow-newer: aeson-2.2.3.0:base
27+
allow-newer: aeson-2.2.3.0:template-haskell
28+
allow-newer: aeson-2.2.3.0:containers
29+
allow-newer: aeson-2.2.3.0:time
30+
allow-newer: uuid-types-1.0.6:base
31+
allow-newer: uuid-types-1.0.6:template-haskell
32+
allow-newer: async-2.2.5:base
33+
allow-newer: time-compat-1.9.8:time
34+
allow-newer: text-iso8601-0.1.1:time
35+
allow-newer: test-framework-0.8.2.2:time
36+
allow-newer: hsc2hs-0.68.10:base

splitmix-tests/splitmix-tests.cabal

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ tested-with:
2323
|| ==9.8.4
2424
|| ==9.10.2
2525
|| ==9.12.2
26+
|| ==9.14.1
2627

2728
library
2829
default-language: Haskell2010
@@ -42,7 +43,7 @@ benchmark comparison
4243
main-is: Bench.hs
4344
build-depends:
4445
, base <5
45-
, containers >=0.6.0.1 && <0.8
46+
, containers >=0.6.0.1 && <0.9
4647
, criterion >=1.6.0.0 && <1.7
4748
, random
4849
, splitmix
@@ -82,7 +83,7 @@ test-suite splitmix-tests
8283

8384
build-depends:
8485
, base <5
85-
, containers >=0.4.0.0 && <0.8
86+
, containers >=0.4.0.0 && <0.9
8687
, HUnit >=1.6.0.0 && <1.7
8788
, math-functions >=0.3.3.0 && <0.4
8889
, splitmix

splitmix.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ tested-with:
4343
|| ==9.8.4
4444
|| ==9.10.2
4545
|| ==9.12.2
46+
|| ==9.14.1
4647

4748
extra-doc-files:
4849
Changelog.md
@@ -73,7 +74,7 @@ library
7374
-- ghc-options: -fplugin=DumpCore -fplugin-opt DumpCore:core-html
7475

7576
build-depends:
76-
, base >=4.12.0.0 && <4.22
77+
, base >=4.12.0.0 && <4.23
7778
, deepseq >=1.4.4.0 && <1.6
7879

7980
if flag(optimised-mixer)

0 commit comments

Comments
 (0)