8
8
#
9
9
# For more information, see https://github.com/haskell-CI/haskell-ci
10
10
#
11
- # version: 0.14.3
11
+ # version: 0.15.20220808
12
12
#
13
- # REGENDATA ("0.14.3 ",["github","--config=cabal.haskell-ci","lattices.cabal"])
13
+ # REGENDATA ("0.15.20220808 ",["github","--config=cabal.haskell-ci","lattices.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 :
@@ -32,15 +32,20 @@ jobs:
32
32
strategy :
33
33
matrix :
34
34
include :
35
- - compiler : ghc-9.2 .1
35
+ - compiler : ghc-9.4 .1
36
36
compilerKind : ghc
37
- compilerVersion : 9.2 .1
37
+ compilerVersion : 9.4 .1
38
38
setup-method : ghcup
39
39
allow-failure : false
40
- - compiler : ghc-9.0.1
40
+ - compiler : ghc-9.2.4
41
41
compilerKind : ghc
42
- compilerVersion : 9.0.1
43
- setup-method : hvr-ppa
42
+ compilerVersion : 9.2.4
43
+ setup-method : ghcup
44
+ allow-failure : false
45
+ - compiler : ghc-9.0.2
46
+ compilerKind : ghc
47
+ compilerVersion : 9.0.2
48
+ setup-method : ghcup
44
49
allow-failure : false
45
50
- compiler : ghc-8.10.4
46
51
compilerKind : ghc
@@ -95,18 +100,18 @@ jobs:
95
100
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
96
101
if [ "${{ matrix.setup-method }}" = ghcup ]; then
97
102
mkdir -p "$HOME/.ghcup/bin"
98
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.5 /x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
103
+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
99
104
chmod a+x "$HOME/.ghcup/bin/ghcup"
100
- "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
101
- "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
105
+ "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
106
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
102
107
else
103
108
apt-add-repository -y 'ppa:hvr/ghc'
104
109
apt-get update
105
110
apt-get install -y "$HCNAME"
106
111
mkdir -p "$HOME/.ghcup/bin"
107
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.5 /x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
112
+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
108
113
chmod a+x "$HOME/.ghcup/bin/ghcup"
109
- "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
114
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
110
115
fi
111
116
env :
112
117
HCKIND : ${{ matrix.compilerKind }}
@@ -182,7 +187,7 @@ jobs:
182
187
- name : cache (tools)
183
188
uses : actions/cache@v2
184
189
with :
185
- key : ${{ runner.os }}-${{ matrix.compiler }}-tools-5487a2e0
190
+ key : ${{ runner.os }}-${{ matrix.compiler }}-tools-ee480724
186
191
path : ~/.haskell-ci-tools
187
192
- name : install cabal-plan
188
193
run : |
@@ -275,7 +280,7 @@ jobs:
275
280
${CABAL} -vnormal check
276
281
- name : haddock
277
282
run : |
278
- $CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
283
+ $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
279
284
- name : unconstrained build
280
285
run : |
281
286
rm -f cabal.project.local
0 commit comments