|
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","unordered-containers.cabal"]) |
| 13 | +# REGENDATA ("0.15.20220808",["github","unordered-containers.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 | 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 | + setup-method: ghcup |
| 39 | + allow-failure: false |
| 40 | + - compiler: ghc-9.2.4 |
| 41 | + compilerKind: ghc |
| 42 | + compilerVersion: 9.2.4 |
38 | 43 | setup-method: ghcup |
39 | 44 | allow-failure: false |
40 | 45 | - compiler: ghc-9.0.2 |
@@ -74,10 +79,10 @@ jobs: |
74 | 79 | apt-get update |
75 | 80 | apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 libnuma-dev |
76 | 81 | mkdir -p "$HOME/.ghcup/bin" |
77 | | - curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup" |
| 82 | + curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup" |
78 | 83 | chmod a+x "$HOME/.ghcup/bin/ghcup" |
79 | | - "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" |
80 | | - "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 |
| 84 | + "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false) |
| 85 | + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false) |
81 | 86 | env: |
82 | 87 | HCKIND: ${{ matrix.compilerKind }} |
83 | 88 | HCNAME: ${{ matrix.compiler }} |
@@ -210,7 +215,7 @@ jobs: |
210 | 215 | ${CABAL} -vnormal check |
211 | 216 | - name: haddock |
212 | 217 | run: | |
213 | | - $CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all |
| 218 | + if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all ; fi |
214 | 219 | - name: unconstrained build |
215 | 220 | run: | |
216 | 221 | rm -f cabal.project.local |
|
0 commit comments