Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 37 additions & 2 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.19.20260102
# version: 0.19.20260104
#
# REGENDATA ("0.19.20260102",["github","cabal.project"])
# REGENDATA ("0.19.20260104",["github","cabal.project"])
#
name: Haskell-CI
on:
Expand All @@ -35,6 +35,11 @@ jobs:
strategy:
matrix:
include:
- compiler: ghc-9.14.1
compilerKind: ghc
compilerVersion: 9.14.1
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.12.2
compilerKind: ghc
compilerVersion: 9.12.2
Expand Down Expand Up @@ -226,6 +231,36 @@ jobs:
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo "package splitmix-tests" >> cabal.project ; fi
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo " ghc-options: -Werror=incomplete-patterns -Werror=incomplete-uni-patterns" >> cabal.project ; fi
cat >> cabal.project <<EOF
allow-newer: parallel-3.3.0.0:base
allow-newer: vector-th-unbox-0.2.2:base
allow-newer: vector-th-unbox-0.2.2:template-haskell
allow-newer: microstache-1.0.3:base
allow-newer: microstache-1.0.3:containers
allow-newer: scientific-0.3.8.0:base
allow-newer: scientific-0.3.8.0:template-haskell
allow-newer: scientific-0.3.8.0:containers
allow-newer: integer-logarithms-1.0.4:base
allow-newer: integer-logarithms-1.0.4:ghc-bignum
allow-newer: binary-orphans-1.0.5:base
allow-newer: indexed-traversable-0.1.4:base
allow-newer: indexed-traversable-0.1.4:containers
allow-newer: indexed-traversable-instances-0.1.2:base
allow-newer: time-compat-1.9.8:base
allow-newer: these-1.2.1:base
allow-newer: semialign-1.3.1:base
allow-newer: semialign-1.3.1:containers
allow-newer: integer-conversion-0.1.1:base
allow-newer: aeson-2.2.3.0:base
allow-newer: aeson-2.2.3.0:template-haskell
allow-newer: aeson-2.2.3.0:containers
allow-newer: aeson-2.2.3.0:time
allow-newer: uuid-types-1.0.6:base
allow-newer: uuid-types-1.0.6:template-haskell
allow-newer: async-2.2.5:base
allow-newer: time-compat-1.9.8:time
allow-newer: text-iso8601-0.1.1:time
allow-newer: test-framework-0.8.2.2:time
allow-newer: hsc2hs-0.68.10:base
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(splitmix|splitmix-tests)$/; }' >> cabal.project.local
cat cabal.project
Expand Down
31 changes: 31 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,34 @@ packages: splitmix-tests

tests: True
benchmarks: True

allow-newer: parallel-3.3.0.0:base
allow-newer: vector-th-unbox-0.2.2:base
allow-newer: vector-th-unbox-0.2.2:template-haskell
allow-newer: microstache-1.0.3:base
allow-newer: microstache-1.0.3:containers
allow-newer: scientific-0.3.8.0:base
allow-newer: scientific-0.3.8.0:template-haskell
allow-newer: scientific-0.3.8.0:containers
allow-newer: integer-logarithms-1.0.4:base
allow-newer: integer-logarithms-1.0.4:ghc-bignum
allow-newer: binary-orphans-1.0.5:base
allow-newer: indexed-traversable-0.1.4:base
allow-newer: indexed-traversable-0.1.4:containers
allow-newer: indexed-traversable-instances-0.1.2:base
allow-newer: time-compat-1.9.8:base
allow-newer: these-1.2.1:base
allow-newer: semialign-1.3.1:base
allow-newer: semialign-1.3.1:containers
allow-newer: integer-conversion-0.1.1:base
allow-newer: aeson-2.2.3.0:base
allow-newer: aeson-2.2.3.0:template-haskell
allow-newer: aeson-2.2.3.0:containers
allow-newer: aeson-2.2.3.0:time
allow-newer: uuid-types-1.0.6:base
allow-newer: uuid-types-1.0.6:template-haskell
allow-newer: async-2.2.5:base
allow-newer: time-compat-1.9.8:time
allow-newer: text-iso8601-0.1.1:time
allow-newer: test-framework-0.8.2.2:time
allow-newer: hsc2hs-0.68.10:base
5 changes: 3 additions & 2 deletions splitmix-tests/splitmix-tests.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ tested-with:
|| ==9.8.4
|| ==9.10.2
|| ==9.12.2
|| ==9.14.1

library
default-language: Haskell2010
Expand All @@ -42,7 +43,7 @@ benchmark comparison
main-is: Bench.hs
build-depends:
, base <5
, containers >=0.6.0.1 && <0.8
, containers >=0.6.0.1 && <0.9
, criterion >=1.6.0.0 && <1.7
, random
, splitmix
Expand Down Expand Up @@ -82,7 +83,7 @@ test-suite splitmix-tests

build-depends:
, base <5
, containers >=0.4.0.0 && <0.8
, containers >=0.4.0.0 && <0.9
, HUnit >=1.6.0.0 && <1.7
, math-functions >=0.3.3.0 && <0.4
, splitmix
Expand Down
3 changes: 2 additions & 1 deletion splitmix.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ tested-with:
|| ==9.8.4
|| ==9.10.2
|| ==9.12.2
|| ==9.14.1

extra-doc-files:
Changelog.md
Expand Down Expand Up @@ -73,7 +74,7 @@ library
-- ghc-options: -fplugin=DumpCore -fplugin-opt DumpCore:core-html

build-depends:
, base >=4.12.0.0 && <4.22
, base >=4.12.0.0 && <4.23
, deepseq >=1.4.4.0 && <1.6

if flag(optimised-mixer)
Expand Down
Loading