|
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 | 38 | strategy:
|
39 | 39 | matrix:
|
40 | 40 | include:
|
41 |
| - - compiler: ghc-9.2.1 |
| 41 | + - compiler: ghc-9.2.4 |
42 | 42 | compilerKind: ghc
|
43 |
| - compilerVersion: 9.2.1 |
| 43 | + compilerVersion: 9.2.4 |
44 | 44 | setup-method: ghcup
|
45 | 45 | allow-failure: false
|
46 | 46 | - compiler: ghc-9.0.1
|
@@ -116,18 +116,18 @@ jobs:
|
116 | 116 | apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
|
117 | 117 | if [ "${{ matrix.setup-method }}" = ghcup ]; then
|
118 | 118 | 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" |
| 119 | + curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup" |
120 | 120 | 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 |
| 121 | + "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false) |
| 122 | + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false) |
123 | 123 | else
|
124 | 124 | apt-add-repository -y 'ppa:hvr/ghc'
|
125 | 125 | apt-get update
|
126 | 126 | apt-get install -y "$HCNAME"
|
127 | 127 | 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" |
| 128 | + curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup" |
129 | 129 | chmod a+x "$HOME/.ghcup/bin/ghcup"
|
130 |
| - "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 |
| 130 | + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false) |
131 | 131 | fi
|
132 | 132 | env:
|
133 | 133 | HCKIND: ${{ matrix.compilerKind }}
|
@@ -270,7 +270,7 @@ jobs:
|
270 | 270 | ${CABAL} -vnormal check
|
271 | 271 | - name: haddock
|
272 | 272 | run: |
|
273 |
| - $CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all |
| 273 | + $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all |
274 | 274 | - name: unconstrained build
|
275 | 275 | run: |
|
276 | 276 | rm -f cabal.project.local
|
|
0 commit comments