8
8
#
9
9
# For more information, see https://github.com/andreasabel/haskell-ci
10
10
#
11
- # version: 0.18.0.20240225
11
+ # version: 0.18.1.20240316
12
12
#
13
- # REGENDATA ("0.18.0.20240225 ",["github","cabal.project"])
13
+ # REGENDATA ("0.18.1.20240316 ",["github","cabal.project"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
86
86
mkdir -p "$HOME/.ghcup/bin"
87
87
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
88
88
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;
89
90
"$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)
91
92
env :
92
93
HCKIND : ${{ matrix.compilerKind }}
93
94
HCNAME : ${{ matrix.compiler }}
@@ -105,7 +106,7 @@ jobs:
105
106
echo "HC=$HC" >> "$GITHUB_ENV"
106
107
echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
107
108
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"
109
110
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
110
111
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
111
112
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
@@ -290,11 +291,11 @@ jobs:
290
291
rm -f cabal.project.local
291
292
- name : constraint set containers-0.7
292
293
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
298
299
- name : constraint set no-lukko
299
300
run : |
300
301
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='hackage-security -lukko' all --dry-run
0 commit comments