88#
99# For more information, see https://github.com/andreasabel/haskell-ci
1010#
11- # version: 0.18.0.20240225
11+ # version: 0.18.1.20240316
1212#
13- # REGENDATA ("0.18.0.20240225 ",["github","cabal.project"])
13+ # REGENDATA ("0.18.1.20240316 ",["github","cabal.project"])
1414#
1515name : Haskell-CI
1616on :
8686 mkdir -p "$HOME/.ghcup/bin"
8787 curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
8888 chmod a+x "$HOME/.ghcup/bin/ghcup"
89+ "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
8990 "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
90- "$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
91+ "$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.1 || (cat "$HOME"/.ghcup/logs/*.* && false)
9192 env :
9293 HCKIND : ${{ matrix.compilerKind }}
9394 HCNAME : ${{ matrix.compiler }}
@@ -105,7 +106,7 @@ jobs:
105106 echo "HC=$HC" >> "$GITHUB_ENV"
106107 echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
107108 echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
108- echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
109+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.1 -vnormal+nowrap" >> "$GITHUB_ENV"
109110 HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
110111 echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
111112 echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
@@ -290,11 +291,11 @@ jobs:
290291 rm -f cabal.project.local
291292 - name : constraint set containers-0.7
292293 run : |
293- if [ $((HCNUMVER < 90800)) -ne 0 ] ; then $ CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all --dry-run ; fi
294- if [ $((HCNUMVER < 90800)) -ne 0 ] ; then cabal-plan topo | sort ; fi
295- if [ $((HCNUMVER < 90800)) -ne 0 ] ; then $ CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' --dependencies-only -j2 all ; fi
296- if [ $((HCNUMVER < 90800)) -ne 0 ] ; then $ CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all ; fi
297- if [ $((HCNUMVER < 90800)) -ne 0 ] ; then $ CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all ; fi
294+ $ CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all --dry-run
295+ cabal-plan topo | sort
296+ $ CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' --dependencies-only -j2 all
297+ $ CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all
298+ $ CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all
298299 - name : constraint set no-lukko
299300 run : |
300301 $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='hackage-security -lukko' all --dry-run
0 commit comments