|
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","--config=cabal.haskell-ci","cabal.project"]) |
| 13 | +# REGENDATA ("0.14.3",["github","--config=cabal.haskell-ci","cabal.project"]) |
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: false |
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 |
@@ -204,6 +209,8 @@ jobs: |
204 | 209 | echo " ghc-options: -Werror=missing-methods" >> cabal.project |
205 | 210 | echo "package servant-swagger-ui-redoc" >> cabal.project |
206 | 211 | echo " ghc-options: -Werror=missing-methods" >> cabal.project |
| 212 | + cat >> cabal.project <<EOF |
| 213 | + EOF |
207 | 214 | $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(servant-swagger-ui|servant-swagger-ui-core|servant-swagger-ui-example|servant-swagger-ui-jensoleg|servant-swagger-ui-redoc)$/; }' >> cabal.project.local |
208 | 215 | cat cabal.project |
209 | 216 | cat cabal.project.local |
@@ -255,8 +262,8 @@ jobs: |
255 | 262 | $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.19.*' all |
256 | 263 | - name: constraint set servant-0.18 |
257 | 264 | run: | |
258 | | - if [ $((HCNUMVER < 90000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' --dependencies-only -j2 all ; fi |
259 | | - if [ $((HCNUMVER < 90000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' all ; fi |
| 265 | + if [ $((HCNUMVER < 90200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' --dependencies-only -j2 all ; fi |
| 266 | + if [ $((HCNUMVER < 90200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' all ; fi |
260 | 267 | - name: constraint set servant-0.17 |
261 | 268 | run: | |
262 | 269 | if [ $((HCNUMVER < 81000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.17.*' --dependencies-only -j2 all ; fi |
|
0 commit comments