6
6
#
7
7
# haskell-ci regenerate
8
8
#
9
- # For more information, see https://github.com/haskell-CI /haskell-ci
9
+ # For more information, see https://github.com/andreasabel /haskell-ci
10
10
#
11
- # version: 0.17.20230824
11
+ # version: 0.17.20230928
12
12
#
13
- # REGENDATA ("0.17.20230824 ",["github","regex-tdfa.cabal"])
13
+ # REGENDATA ("0.17.20230928 ",["github","regex-tdfa.cabal"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
@@ -27,24 +27,24 @@ jobs:
27
27
timeout-minutes :
28
28
60
29
29
container :
30
- image : buildpack-deps:bionic
30
+ image : buildpack-deps:focal
31
31
continue-on-error : ${{ matrix.allow-failure }}
32
32
strategy :
33
33
matrix :
34
34
include :
35
- - compiler : ghc-9.8.0.20230822
35
+ - compiler : ghc-9.8.0.20230919
36
36
compilerKind : ghc
37
- compilerVersion : 9.8.0.20230822
37
+ compilerVersion : 9.8.0.20230919
38
38
setup-method : ghcup
39
39
allow-failure : true
40
- - compiler : ghc-9.6.2
40
+ - compiler : ghc-9.6.3
41
41
compilerKind : ghc
42
- compilerVersion : 9.6.2
42
+ compilerVersion : 9.6.3
43
43
setup-method : ghcup
44
44
allow-failure : false
45
- - compiler : ghc-9.4.5
45
+ - compiler : ghc-9.4.7
46
46
compilerKind : ghc
47
- compilerVersion : 9.4.5
47
+ compilerVersion : 9.4.7
48
48
setup-method : ghcup
49
49
allow-failure : false
50
50
- compiler : ghc-9.2.8
92
92
compilerVersion : 7.10.3
93
93
setup-method : hvr-ppa
94
94
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
110
95
fail-fast : false
111
96
steps :
112
97
- name : apt
@@ -225,7 +210,7 @@ jobs:
225
210
chmod a+x $HOME/.cabal/bin/cabal-plan
226
211
cabal-plan --version
227
212
- name : checkout
228
- uses : actions/checkout@v3
213
+ uses : actions/checkout@v4
229
214
with :
230
215
path : source
231
216
- name : initial cabal.project for sdist
@@ -253,6 +238,7 @@ jobs:
253
238
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
254
239
cat >> cabal.project <<EOF
255
240
allow-newer: bytestring
241
+ allow-newer: containers
256
242
allow-newer: text
257
243
EOF
258
244
if $HEADHACKAGE; then
@@ -298,20 +284,27 @@ jobs:
298
284
- name : prepare for constraint sets
299
285
run : |
300
286
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
308
287
- name : constraint set text-2.1
309
288
run : |
310
289
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>= 2.1' all --dry-run ; fi
311
290
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then cabal-plan topo | sort ; fi
312
291
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>= 2.1' --dependencies-only -j2 all ; fi
313
292
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>= 2.1' all ; fi
314
293
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
315
308
- name : save cache
316
309
uses : actions/cache/save@v3
317
310
if : always()
0 commit comments