8
8
#
9
9
# For more information, see https://github.com/haskell-CI/haskell-ci
10
10
#
11
- # version: 0.14.3.20220416
11
+ # version: 0.15.20220710
12
12
#
13
- # REGENDATA ("0.14.3.20220416 ",["github","hackage-server.cabal"])
13
+ # REGENDATA ("0.15.20220710 ",["github","hackage-server.cabal"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
17
- - push
18
- - pull_request
17
+ push :
18
+ branches :
19
+ - master
20
+ - ci*
21
+ pull_request :
22
+ branches :
23
+ - master
24
+ - ci*
19
25
jobs :
20
26
linux :
21
27
name : Haskell-CI - Linux - ${{ matrix.compiler }}
22
- runs-on : ubuntu-18 .04
28
+ runs-on : ubuntu-20 .04
23
29
timeout-minutes :
24
30
60
25
31
container :
28
34
strategy :
29
35
matrix :
30
36
include :
31
- - compiler : ghc-9.2.2
37
+ - compiler : ghc-9.2.3
32
38
compilerKind : ghc
33
- compilerVersion : 9.2.2
39
+ compilerVersion : 9.2.3
34
40
setup-method : ghcup
35
41
allow-failure : false
36
42
- compiler : ghc-9.0.2
@@ -56,20 +62,20 @@ jobs:
56
62
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
57
63
if [ "${{ matrix.setup-method }}" = ghcup ]; then
58
64
mkdir -p "$HOME/.ghcup/bin"
59
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.5 /x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
65
+ curl -sL https://downloads.haskell.org/ghcup/0.1.17.8 /x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
60
66
chmod a+x "$HOME/.ghcup/bin/ghcup"
61
- "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
62
- "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
67
+ "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
68
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
63
69
apt-get update
64
70
apt-get install -y libbrotli-dev
65
71
else
66
72
apt-add-repository -y 'ppa:hvr/ghc'
67
73
apt-get update
68
74
apt-get install -y "$HCNAME" libbrotli-dev
69
75
mkdir -p "$HOME/.ghcup/bin"
70
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.5 /x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
76
+ curl -sL https://downloads.haskell.org/ghcup/0.1.17.8 /x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
71
77
chmod a+x "$HOME/.ghcup/bin/ghcup"
72
- "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
78
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
73
79
fi
74
80
env :
75
81
HCKIND : ${{ matrix.compilerKind }}
@@ -212,7 +218,7 @@ jobs:
212
218
${CABAL} -vnormal check
213
219
- name : haddock
214
220
run : |
215
- $CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
221
+ $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
216
222
- name : unconstrained build
217
223
run : |
218
224
rm -f cabal.project.local
0 commit comments