Skip to content

Commit 2bfa685

Browse files
authored
Merge pull request #612 from haskell-CI/ghc-9.4.1
Allow base-4.17
2 parents 336d76e + 440063d commit 2bfa685

File tree

4 files changed

+21
-8
lines changed

4 files changed

+21
-8
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
strategy:
3131
matrix:
3232
include:
33+
- compiler: ghc-9.4.1
34+
compilerKind: ghc
35+
compilerVersion: 9.4.1
36+
setup-method: ghcup
37+
allow-failure: false
3338
- compiler: ghc-9.2.4
3439
compilerKind: ghc
3540
compilerVersion: 9.2.4
@@ -244,7 +249,7 @@ jobs:
244249
run: |
245250
perl -i -e 'while (<ARGV>) { print unless /package-id\s+(base-compat-batteries|bs-cmpt-bttrs)-\d+(\.\d+)*/; }' .ghc.environment.*
246251
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then cd ${PKGDIR_haskell_ci} || false ; fi
247-
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then doctest --fast -XHaskell2010 -XNoImplicitPrelude -XBangPatterns -XDeriveAnyClass -XDeriveFoldable -XDeriveFunctor -XDeriveGeneric -XDeriveTraversable -XDerivingStrategies -XGeneralizedNewtypeDeriving -XScopedTypeVariables src ; fi
252+
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then doctest --fast -XHaskell2010 -XNoImplicitPrelude -XBangPatterns -XDeriveAnyClass -XDeriveFoldable -XDeriveFunctor -XDeriveGeneric -XDeriveTraversable -XDerivingStrategies -XGeneralizedNewtypeDeriving -XScopedTypeVariables -XTypeOperators src ; fi
248253
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then cd ${PKGDIR_cabal_install_parsers} || false ; fi
249254
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then doctest --fast -XHaskell2010 src ; fi
250255
- name: docspec

cabal-install-parsers/cabal-install-parsers.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ maintainer: [email protected], [email protected]
2121
category: Development
2222
build-type: Simple
2323
tested-with:
24-
GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.4
24+
GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.1
2525

2626
extra-source-files:
2727
Changelog.md
@@ -54,7 +54,7 @@ library
5454

5555
-- GHC-boot libraries
5656
build-depends:
57-
, base >=4.10 && <4.17
57+
, base >=4.10 && <4.18
5858
, binary ^>=0.8.5
5959
, bytestring ^>=0.10.8.1 || ^>=0.11.1.0
6060
, Cabal-syntax ^>=3.8.1.0

haskell-ci.cabal

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ maintainer: [email protected]
3333
category: Development
3434
build-type: Simple
3535
tested-with:
36-
GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.4
36+
GHC ==8.2.2
37+
|| ==8.4.4
38+
|| ==8.6.5
39+
|| ==8.8.4
40+
|| ==8.10.7
41+
|| ==9.0.2
42+
|| ==9.2.4
43+
|| ==9.4.1
3744

3845
extra-source-files: CHANGELOG.md
3946
extra-source-files:
@@ -125,6 +132,7 @@ library haskell-ci-internal
125132
DerivingStrategies
126133
GeneralizedNewtypeDeriving
127134
ScopedTypeVariables
135+
TypeOperators
128136

129137
other-extensions:
130138
CPP
@@ -133,7 +141,7 @@ library haskell-ci-internal
133141
ViewPatterns
134142

135143
build-depends:
136-
, base >=4.10 && <4.17
144+
, base >=4.10 && <4.18
137145
, binary ^>=0.8.5.1
138146
, bytestring ^>=0.10.8.1 || ^>=0.11.1.0
139147
, Cabal-syntax ^>=3.8.1.0
@@ -155,7 +163,7 @@ library haskell-ci-internal
155163
build-depends:
156164
, aeson ^>=1.5.6.0 || ^>=2.0.0.0 || ^>=2.1.0.0
157165
, attoparsec ^>=0.14.1
158-
, base-compat ^>=0.11 || ^>=0.12
166+
, base-compat ^>=0.12
159167
, base16-bytestring ^>=1.0.1.0
160168
, cabal-install-parsers ^>=0.5
161169
, cryptohash-sha256 ^>=0.11.101.0

haskell-ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
CFG_CABAL_STORE_CACHE=""
2121
CFG_CABAL_REPO_CACHE=""
22-
CFG_JOBS="9.2.4 9.0.2 8.10.7 8.8.4 8.6.5 8.4.4 8.2.2"
22+
CFG_JOBS="9.4.1 9.2.4 9.0.2 8.10.7 8.8.4 8.6.5 8.4.4 8.2.2"
2323
CFG_CABAL_UPDATE=false
2424

2525
SCRIPT_NAME=$(basename "$0")
@@ -523,7 +523,7 @@ run_cmd $CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-detai
523523
put_info "doctest"
524524
run_cmd perl -i -e 'while (<ARGV>) { print unless /package-id\s+(base-compat-batteries|bs-cmpt-bttrs)-\d+(\.\d+)*/; }' .ghc.environment.*
525525
change_dir_if $((HCNUMVER < 90000)) ${PKGDIR_haskell_ci}
526-
run_cmd_if $((HCNUMVER < 90000)) doctest --fast -XHaskell2010 -XNoImplicitPrelude -XBangPatterns -XDeriveAnyClass -XDeriveFoldable -XDeriveFunctor -XDeriveGeneric -XDeriveTraversable -XDerivingStrategies -XGeneralizedNewtypeDeriving -XScopedTypeVariables src
526+
run_cmd_if $((HCNUMVER < 90000)) doctest --fast -XHaskell2010 -XNoImplicitPrelude -XBangPatterns -XDeriveAnyClass -XDeriveFoldable -XDeriveFunctor -XDeriveGeneric -XDeriveTraversable -XDerivingStrategies -XGeneralizedNewtypeDeriving -XScopedTypeVariables -XTypeOperators src
527527
change_dir_if $((HCNUMVER < 90000)) ${PKGDIR_cabal_install_parsers}
528528
run_cmd_if $((HCNUMVER < 90000)) doctest --fast -XHaskell2010 src
529529

0 commit comments

Comments
 (0)