8
8
#
9
9
# For more information, see https://github.com/haskell-CI/haskell-ci
10
10
#
11
- # version: 0.13.20211111
11
+ # version: 0.15.20220826
12
12
#
13
- # REGENDATA ("0.13.20211111 ",["github","postgresql-libpq.cabal"])
13
+ # REGENDATA ("0.15.20220826 ",["github","postgresql-libpq.cabal"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
23
23
jobs :
24
24
linux :
25
25
name : Haskell-CI - Linux - ${{ matrix.compiler }}
26
- runs-on : ubuntu-18 .04
26
+ runs-on : ubuntu-20 .04
27
27
timeout-minutes :
28
28
60
29
29
container :
@@ -38,15 +38,20 @@ jobs:
38
38
strategy :
39
39
matrix :
40
40
include :
41
- - compiler : ghc-9.2.1
41
+ - compiler : ghc-9.4.2
42
42
compilerKind : ghc
43
- compilerVersion : 9.2.1
43
+ compilerVersion : 9.4.2
44
44
setup-method : ghcup
45
45
allow-failure : false
46
- - compiler : ghc-9.0.1
46
+ - compiler : ghc-9.2.4
47
47
compilerKind : ghc
48
- compilerVersion : 9.0.1
49
- setup-method : hvr-ppa
48
+ compilerVersion : 9.2.4
49
+ setup-method : ghcup
50
+ allow-failure : false
51
+ - compiler : ghc-9.0.2
52
+ compilerKind : ghc
53
+ compilerVersion : 9.0.2
54
+ setup-method : ghcup
50
55
allow-failure : false
51
56
- compiler : ghc-8.10.7
52
57
compilerKind : ghc
@@ -116,18 +121,18 @@ jobs:
116
121
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
117
122
if [ "${{ matrix.setup-method }}" = ghcup ]; then
118
123
mkdir -p "$HOME/.ghcup/bin"
119
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.3 /x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
124
+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
120
125
chmod a+x "$HOME/.ghcup/bin/ghcup"
121
- "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
122
- "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
126
+ "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
127
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
123
128
else
124
129
apt-add-repository -y 'ppa:hvr/ghc'
125
130
apt-get update
126
131
apt-get install -y "$HCNAME"
127
132
mkdir -p "$HOME/.ghcup/bin"
128
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.3 /x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
133
+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
129
134
chmod a+x "$HOME/.ghcup/bin/ghcup"
130
- "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
135
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
131
136
fi
132
137
env :
133
138
HCKIND : ${{ matrix.compilerKind }}
@@ -270,7 +275,7 @@ jobs:
270
275
${CABAL} -vnormal check
271
276
- name : haddock
272
277
run : |
273
- $CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
278
+ $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
274
279
- name : unconstrained build
275
280
run : |
276
281
rm -f cabal.project.local
0 commit comments