8
8
#
9
9
# For more information, see https://github.com/haskell-CI/haskell-ci
10
10
#
11
- # version: 0.13.20211111
11
+ # version: 0.14.3
12
12
#
13
- # REGENDATA ("0.13.20211111 ",["github","--config=cabal.haskell-ci","lattices.cabal"])
13
+ # REGENDATA ("0.14.3 ",["github","--config=cabal.haskell-ci","lattices.cabal"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
95
95
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
96
96
if [ "${{ matrix.setup-method }}" = ghcup ]; then
97
97
mkdir -p "$HOME/.ghcup/bin"
98
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.3 /x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
98
+ curl -sL https://downloads.haskell.org/ghcup/0.1.17.5 /x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
99
99
chmod a+x "$HOME/.ghcup/bin/ghcup"
100
100
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
101
101
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
@@ -104,7 +104,7 @@ jobs:
104
104
apt-get update
105
105
apt-get install -y "$HCNAME"
106
106
mkdir -p "$HOME/.ghcup/bin"
107
- curl -sL https://downloads.haskell.org/ghcup/0.1.17.3 /x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
107
+ curl -sL https://downloads.haskell.org/ghcup/0.1.17.5 /x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
108
108
chmod a+x "$HOME/.ghcup/bin/ghcup"
109
109
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
110
110
fi
@@ -182,7 +182,7 @@ jobs:
182
182
- name : cache (tools)
183
183
uses : actions/cache@v2
184
184
with :
185
- key : ${{ runner.os }}-${{ matrix.compiler }}-tools-a12dda74
185
+ key : ${{ runner.os }}-${{ matrix.compiler }}-tools-5487a2e0
186
186
path : ~/.haskell-ci-tools
187
187
- name : install cabal-plan
188
188
run : |
@@ -196,15 +196,15 @@ jobs:
196
196
- name : install cabal-docspec
197
197
run : |
198
198
mkdir -p $HOME/.cabal/bin
199
- curl -sL https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20210111 /cabal-docspec-0.0.0.20210111 .xz > cabal-docspec.xz
200
- echo '0829bd034fba901cbcfe491d98ed8b28fd54f9cb5c91fa8e1ac62dc4413c9562 cabal-docspec.xz' | sha256sum -c -
199
+ curl -sL https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20211114 /cabal-docspec-0.0.0.20211114 .xz > cabal-docspec.xz
200
+ echo 'e224700d9e8c9ec7ec6bc3f542ba433cd9925a5d356676c62a9bd1f2c8be8f8a cabal-docspec.xz' | sha256sum -c -
201
201
xz -d < cabal-docspec.xz > $HOME/.cabal/bin/cabal-docspec
202
202
rm -f cabal-docspec.xz
203
203
chmod a+x $HOME/.cabal/bin/cabal-docspec
204
204
cabal-docspec --version
205
205
- name : install doctest
206
206
run : |
207
- if [ $((HCNUMVER >= 80000 && HCNUMVER < 90000)) -ne 0 ] ; then $CABAL --store-dir=$HOME/.haskell-ci-tools/store v2-install $ARG_COMPILER --ignore-project -j2 doctest --constraint='doctest ^>=0.17 ' ; fi
207
+ if [ $((HCNUMVER >= 80000 && HCNUMVER < 90000)) -ne 0 ] ; then $CABAL --store-dir=$HOME/.haskell-ci-tools/store v2-install $ARG_COMPILER --ignore-project -j2 doctest --constraint='doctest ^>=0.20 ' ; fi
208
208
if [ $((HCNUMVER >= 80000 && HCNUMVER < 90000)) -ne 0 ] ; then doctest --version ; fi
209
209
- name : checkout
210
210
uses : actions/checkout@v2
@@ -264,7 +264,7 @@ jobs:
264
264
- name : doctest
265
265
run : |
266
266
if [ $((HCNUMVER >= 80000 && HCNUMVER < 90000)) -ne 0 ] ; then cd ${PKGDIR_lattices} || false ; fi
267
- if [ $((HCNUMVER >= 80000 && HCNUMVER < 90000)) -ne 0 ] ; then doctest src ; fi
267
+ if [ $((HCNUMVER >= 80000 && HCNUMVER < 90000)) -ne 0 ] ; then doctest -XHaskell2010 src ; fi
268
268
- name : docspec
269
269
run : |
270
270
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH all
@@ -280,3 +280,10 @@ jobs:
280
280
run : |
281
281
rm -f cabal.project.local
282
282
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
283
+ - name : prepare for constraint sets
284
+ run : |
285
+ rm -f cabal.project.local
286
+ - name : constraint set transformers-0.6
287
+ run : |
288
+ $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='transformers ^>=0.6' --dependencies-only -j2 all
289
+ $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='transformers ^>=0.6' all
0 commit comments