8
8
#
9
9
# For more information, see https://github.com/andreasabel/haskell-ci
10
10
#
11
- # version: 0.18.0.20240225
11
+ # version: 0.19.20240703
12
12
#
13
- # REGENDATA ("0.18.0.20240225 ",["github","alex.cabal"])
13
+ # REGENDATA ("0.19.20240703 ",["github","alex.cabal"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
@@ -27,19 +27,24 @@ jobs:
27
27
timeout-minutes :
28
28
60
29
29
container :
30
- image : buildpack-deps:focal
30
+ image : buildpack-deps:jammy
31
31
continue-on-error : ${{ matrix.allow-failure }}
32
32
strategy :
33
33
matrix :
34
34
include :
35
+ - compiler : ghc-9.10.1
36
+ compilerKind : ghc
37
+ compilerVersion : 9.10.1
38
+ setup-method : ghcup
39
+ allow-failure : false
35
40
- compiler : ghc-9.8.2
36
41
compilerKind : ghc
37
42
compilerVersion : 9.8.2
38
43
setup-method : ghcup
39
44
allow-failure : false
40
- - compiler : ghc-9.6.4
45
+ - compiler : ghc-9.6.6
41
46
compilerKind : ghc
42
- compilerVersion : 9.6.4
47
+ compilerVersion : 9.6.6
43
48
setup-method : ghcup
44
49
allow-failure : false
45
50
- compiler : ghc-9.4.8
97
102
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
98
103
chmod a+x "$HOME/.ghcup/bin/ghcup"
99
104
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
100
- "$HOME/.ghcup/bin/ghcup" install cabal 3.10.2 .0 || (cat "$HOME"/.ghcup/logs/*.* && false)
105
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.12.1 .0 || (cat "$HOME"/.ghcup/logs/*.* && false)
101
106
env :
102
107
HCKIND : ${{ matrix.compilerKind }}
103
108
HCNAME : ${{ matrix.compiler }}
@@ -115,7 +120,7 @@ jobs:
115
120
echo "HC=$HC" >> "$GITHUB_ENV"
116
121
echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
117
122
echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
118
- echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2 .0 -vnormal+nowrap" >> "$GITHUB_ENV"
123
+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1 .0 -vnormal+nowrap" >> "$GITHUB_ENV"
119
124
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
120
125
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
121
126
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
@@ -213,7 +218,7 @@ jobs:
213
218
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
214
219
cat >> cabal.project <<EOF
215
220
EOF
216
- $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(alex)$/; }' >> cabal.project.local
221
+ $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any. $_ installed\n" unless /^(alex)$/; }' >> cabal.project.local
217
222
cat cabal.project
218
223
cat cabal.project.local
219
224
- name : dump install plan
0 commit comments