|
8 | 8 | #
|
9 | 9 | # For more information, see https://github.com/haskell-CI/haskell-ci
|
10 | 10 | #
|
11 |
| -# version: 0.14 |
| 11 | +# version: 0.14.3 |
12 | 12 | #
|
13 |
| -# REGENDATA ("0.14",["github","cabal.project","--allow-failures",">= 9.2","--distribution","focal"]) |
| 13 | +# REGENDATA ("0.14.3",["github","cabal.project","--allow-failures",">= 9.2","--distribution","focal"]) |
14 | 14 | #
|
15 | 15 | name: Haskell-CI
|
16 | 16 | on:
|
|
32 | 32 | strategy:
|
33 | 33 | matrix:
|
34 | 34 | include:
|
| 35 | + - compiler: ghc-9.2.2 |
| 36 | + compilerKind: ghc |
| 37 | + compilerVersion: 9.2.2 |
| 38 | + setup-method: ghcup |
| 39 | + allow-failure: true |
35 | 40 | - compiler: ghc-9.0.2
|
36 | 41 | compilerKind: ghc
|
37 | 42 | compilerVersion: 9.0.2
|
|
60 | 65 | apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
|
61 | 66 | if [ "${{ matrix.setup-method }}" = ghcup ]; then
|
62 | 67 | mkdir -p "$HOME/.ghcup/bin"
|
63 |
| - curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" |
| 68 | + curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup" |
64 | 69 | chmod a+x "$HOME/.ghcup/bin/ghcup"
|
65 | 70 | "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
|
66 | 71 | "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
|
|
69 | 74 | apt-get update
|
70 | 75 | apt-get install -y "$HCNAME"
|
71 | 76 | mkdir -p "$HOME/.ghcup/bin"
|
72 |
| - curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" |
| 77 | + curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup" |
73 | 78 | chmod a+x "$HOME/.ghcup/bin/ghcup"
|
74 | 79 | "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
|
75 | 80 | fi
|
@@ -244,17 +249,9 @@ jobs:
|
244 | 249 | $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.19.*' all
|
245 | 250 | - name: constraint set servant-0.18
|
246 | 251 | run: |
|
247 |
| - $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' --dependencies-only -j2 all |
248 |
| - $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' all |
| 252 | + if [ $((HCNUMVER < 90200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' --dependencies-only -j2 all ; fi |
| 253 | + if [ $((HCNUMVER < 90200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' all ; fi |
249 | 254 | - name: constraint set servant-0.17
|
250 | 255 | run: |
|
251 | 256 | if [ $((HCNUMVER < 81000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.17.*' --dependencies-only -j2 all ; fi
|
252 | 257 | if [ $((HCNUMVER < 81000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.17.*' all ; fi
|
253 |
| - - name: constraint set network-3.0 |
254 |
| - run: | |
255 |
| - if [ $((HCNUMVER < 80800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='network == 3.0.*' --dependencies-only -j2 all ; fi |
256 |
| - if [ $((HCNUMVER < 80800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='network == 3.0.*' all ; fi |
257 |
| - - name: constraint set network-2.8 |
258 |
| - run: | |
259 |
| - if [ $((HCNUMVER < 80800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='network == 2.8.*' --dependencies-only -j2 all ; fi |
260 |
| - if [ $((HCNUMVER < 80800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='network == 2.8.*' all ; fi |
0 commit comments