88#
99# For more information, see https://github.com/haskell-CI/haskell-ci
1010#
11- # version: 0.13.20211116
11+ # version: 0.15.20220808
1212#
13- # REGENDATA ("0.13.20211116 ",["github","cabal.project"])
13+ # REGENDATA ("0.15.20220808 ",["github","cabal.project"])
1414#
1515name : Haskell-CI
1616on :
2323jobs :
2424 linux :
2525 name : Haskell-CI - Linux - ${{ matrix.compiler }}
26- runs-on : ubuntu-18 .04
26+ runs-on : ubuntu-20 .04
2727 timeout-minutes :
2828 60
2929 container :
@@ -37,15 +37,20 @@ jobs:
3737 compilerVersion : " 8.4"
3838 setup-method : hvr-ppa
3939 allow-failure : false
40- - compiler : ghc-9.2 .1
40+ - compiler : ghc-9.4 .1
4141 compilerKind : ghc
42- compilerVersion : 9.2 .1
42+ compilerVersion : 9.4 .1
4343 setup-method : ghcup
4444 allow-failure : false
45- - compiler : ghc-9.0.1
45+ - compiler : ghc-9.2.4
4646 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
4954 allow-failure : false
5055 - compiler : ghc-8.10.4
5156 compilerKind : ghc
@@ -118,10 +123,10 @@ jobs:
118123 apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
119124 if [ "${{ matrix.setup-method }}" = ghcup ]; then
120125 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"
122127 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)
125130 else
126131 apt-add-repository -y 'ppa:hvr/ghc'
127132 if [ $((GHCJSARITH)) -ne 0 ] ; then apt-add-repository -y 'ppa:hvr/ghcjs' ; fi
@@ -130,9 +135,9 @@ jobs:
130135 apt-get update
131136 if [ $((GHCJSARITH)) -ne 0 ] ; then apt-get install -y "$HCNAME" ghc-8.4.4 nodejs ; else apt-get install -y "$HCNAME" ; fi
132137 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"
134139 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)
136141 fi
137142 env :
138143 HCKIND : ${{ matrix.compilerKind }}
@@ -290,7 +295,7 @@ jobs:
290295 ${CABAL} -vnormal check
291296 - name : haddock
292297 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
294299 - name : unconstrained build
295300 run : |
296301 rm -f cabal.project.local
0 commit comments