66#
77# haskell-ci regenerate
88#
9- # For more information, see https://github.com/haskell-CI /haskell-ci
9+ # For more information, see https://github.com/andreasabel /haskell-ci
1010#
11- # version: 0.17.20230824
11+ # version: 0.17.20230928
1212#
13- # REGENDATA ("0.17.20230824 ",["github","regex-tdfa.cabal"])
13+ # REGENDATA ("0.17.20230928 ",["github","regex-tdfa.cabal"])
1414#
1515name : Haskell-CI
1616on :
@@ -27,24 +27,24 @@ jobs:
2727 timeout-minutes :
2828 60
2929 container :
30- image : buildpack-deps:bionic
30+ image : buildpack-deps:focal
3131 continue-on-error : ${{ matrix.allow-failure }}
3232 strategy :
3333 matrix :
3434 include :
35- - compiler : ghc-9.8.0.20230822
35+ - compiler : ghc-9.8.0.20230919
3636 compilerKind : ghc
37- compilerVersion : 9.8.0.20230822
37+ compilerVersion : 9.8.0.20230919
3838 setup-method : ghcup
3939 allow-failure : true
40- - compiler : ghc-9.6.2
40+ - compiler : ghc-9.6.3
4141 compilerKind : ghc
42- compilerVersion : 9.6.2
42+ compilerVersion : 9.6.3
4343 setup-method : ghcup
4444 allow-failure : false
45- - compiler : ghc-9.4.5
45+ - compiler : ghc-9.4.7
4646 compilerKind : ghc
47- compilerVersion : 9.4.5
47+ compilerVersion : 9.4.7
4848 setup-method : ghcup
4949 allow-failure : false
5050 - compiler : ghc-9.2.8
9292 compilerVersion : 7.10.3
9393 setup-method : hvr-ppa
9494 allow-failure : false
95- - compiler : ghc-7.8.4
96- compilerKind : ghc
97- compilerVersion : 7.8.4
98- setup-method : hvr-ppa
99- allow-failure : false
100- - compiler : ghc-7.6.3
101- compilerKind : ghc
102- compilerVersion : 7.6.3
103- setup-method : hvr-ppa
104- allow-failure : false
105- - compiler : ghc-7.4.2
106- compilerKind : ghc
107- compilerVersion : 7.4.2
108- setup-method : hvr-ppa
109- allow-failure : false
11095 fail-fast : false
11196 steps :
11297 - name : apt
@@ -225,7 +210,7 @@ jobs:
225210 chmod a+x $HOME/.cabal/bin/cabal-plan
226211 cabal-plan --version
227212 - name : checkout
228- uses : actions/checkout@v3
213+ uses : actions/checkout@v4
229214 with :
230215 path : source
231216 - name : initial cabal.project for sdist
@@ -253,6 +238,7 @@ jobs:
253238 if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
254239 cat >> cabal.project <<EOF
255240 allow-newer: bytestring
241+ allow-newer: containers
256242 allow-newer: text
257243 EOF
258244 if $HEADHACKAGE; then
@@ -298,20 +284,27 @@ jobs:
298284 - name : prepare for constraint sets
299285 run : |
300286 rm -f cabal.project.local
301- - name : constraint set bytestring-0.12
302- run : |
303- if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring ^>= 0.12' all --dry-run ; fi
304- if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then cabal-plan topo | sort ; fi
305- if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring ^>= 0.12' --dependencies-only -j2 all ; fi
306- if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring ^>= 0.12' all ; fi
307- if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring ^>= 0.12' all ; fi
308287 - name : constraint set text-2.1
309288 run : |
310289 if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>= 2.1' all --dry-run ; fi
311290 if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then cabal-plan topo | sort ; fi
312291 if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>= 2.1' --dependencies-only -j2 all ; fi
313292 if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>= 2.1' all ; fi
314293 if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then $CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>= 2.1' all ; fi
294+ - name : constraint set containers-0.7
295+ run : |
296+ if [ $((HCNUMVER >= 80200 && HCNUMVER < 90800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers ^>= 0.7' all --dry-run ; fi
297+ if [ $((HCNUMVER >= 80200 && HCNUMVER < 90800)) -ne 0 ] ; then cabal-plan topo | sort ; fi
298+ if [ $((HCNUMVER >= 80200 && HCNUMVER < 90800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers ^>= 0.7' --dependencies-only -j2 all ; fi
299+ if [ $((HCNUMVER >= 80200 && HCNUMVER < 90800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers ^>= 0.7' all ; fi
300+ if [ $((HCNUMVER >= 80200 && HCNUMVER < 90800)) -ne 0 ] ; then $CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers ^>= 0.7' all ; fi
301+ - name : constraint set bytestring-0.12
302+ run : |
303+ if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring ^>= 0.12' all --dry-run ; fi
304+ if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then cabal-plan topo | sort ; fi
305+ if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring ^>= 0.12' --dependencies-only -j2 all ; fi
306+ if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring ^>= 0.12' all ; fi
307+ if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring ^>= 0.12' all ; fi
315308 - name : save cache
316309 uses : actions/cache/save@v3
317310 if : always()
0 commit comments