8
8
#
9
9
# For more information, see https://github.com/haskell-CI/haskell-ci
10
10
#
11
- # version: 0.13.20211116
11
+ # version: 0.15.20220808
12
12
#
13
- # REGENDATA ("0.13.20211116 ",["github","cabal.project"])
13
+ # REGENDATA ("0.15.20220808 ",["github","cabal.project"])
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 :
@@ -37,15 +37,20 @@ jobs:
37
37
compilerVersion : " 8.4"
38
38
setup-method : hvr-ppa
39
39
allow-failure : false
40
- - compiler : ghc-9.2 .1
40
+ - compiler : ghc-9.4 .1
41
41
compilerKind : ghc
42
- compilerVersion : 9.2 .1
42
+ compilerVersion : 9.4 .1
43
43
setup-method : ghcup
44
44
allow-failure : false
45
- - compiler : ghc-9.0.1
45
+ - compiler : ghc-9.2.4
46
46
compilerKind : ghc
47
- compilerVersion : 9.0.1
48
- setup-method : hvr-ppa
47
+ compilerVersion : 9.2.4
48
+ setup-method : ghcup
49
+ allow-failure : false
50
+ - compiler : ghc-9.0.2
51
+ compilerKind : ghc
52
+ compilerVersion : 9.0.2
53
+ setup-method : ghcup
49
54
allow-failure : false
50
55
- compiler : ghc-8.10.4
51
56
compilerKind : ghc
@@ -118,10 +123,10 @@ jobs:
118
123
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
119
124
if [ "${{ matrix.setup-method }}" = ghcup ]; then
120
125
mkdir -p "$HOME/.ghcup/bin"
121
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.3 /x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
126
+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
122
127
chmod a+x "$HOME/.ghcup/bin/ghcup"
123
- "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
124
- "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
128
+ "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
129
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
125
130
else
126
131
apt-add-repository -y 'ppa:hvr/ghc'
127
132
if [ $((GHCJSARITH)) -ne 0 ] ; then apt-add-repository -y 'ppa:hvr/ghcjs' ; fi
@@ -130,9 +135,9 @@ jobs:
130
135
apt-get update
131
136
if [ $((GHCJSARITH)) -ne 0 ] ; then apt-get install -y "$HCNAME" ghc-8.4.4 nodejs ; else apt-get install -y "$HCNAME" ; fi
132
137
mkdir -p "$HOME/.ghcup/bin"
133
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.3 /x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
138
+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
134
139
chmod a+x "$HOME/.ghcup/bin/ghcup"
135
- "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
140
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
136
141
fi
137
142
env :
138
143
HCKIND : ${{ matrix.compilerKind }}
@@ -290,7 +295,7 @@ jobs:
290
295
${CABAL} -vnormal check
291
296
- name : haddock
292
297
run : |
293
- if [ $((! GHCJSARITH && HCNUMVER >= 70800)) -ne 0 ] ; then $CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all ; fi
298
+ if [ $((! GHCJSARITH && HCNUMVER >= 70800)) -ne 0 ] ; then $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all ; fi
294
299
- name : unconstrained build
295
300
run : |
296
301
rm -f cabal.project.local
0 commit comments