File tree 5 files changed +11
-3
lines changed
5 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ jobs:
255
255
run : |
256
256
perl -i -e 'while (<ARGV>) { print unless /package-id\s+(base-compat-batteries|bs-cmpt-bttrs)-\d+(\.\d+)*/; }' .ghc.environment.*
257
257
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then cd ${PKGDIR_haskell_ci} || false ; fi
258
- if [ $((HCNUMVER < 90000)) -ne 0 ] ; then doctest --fast -XHaskell2010 -XNoImplicitPrelude - XBangPatterns -XDeriveAnyClass -XDeriveFoldable -XDeriveFunctor -XDeriveGeneric -XDeriveTraversable -XDerivingStrategies -XGeneralizedNewtypeDeriving -XScopedTypeVariables -XTypeOperators src ; fi
258
+ if [ $((HCNUMVER < 90000)) -ne 0 ] ; then doctest --fast -XHaskell2010 -XBangPatterns -XDeriveAnyClass -XDeriveFoldable -XDeriveFunctor -XDeriveGeneric -XDeriveTraversable -XDerivingStrategies -XGeneralizedNewtypeDeriving -XNoImplicitPrelude -XScopedTypeVariables -XTypeOperators src ; fi
259
259
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then cd ${PKGDIR_cabal_install_parsers} || false ; fi
260
260
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then doctest --fast -XHaskell2010 src ; fi
261
261
- name : docspec
@@ -280,6 +280,8 @@ jobs:
280
280
rm -f cabal.project.local
281
281
- name : constraint set deepseq-1.4
282
282
run : |
283
+ if [ $((HCNUMVER < 80400)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' all --dry-run ; fi
284
+ if [ $((HCNUMVER < 80400)) -ne 0 ] ; then cabal-plan topo | sort ; fi
283
285
if [ $((HCNUMVER < 80400)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' --dependencies-only -j2 all ; fi
284
286
if [ $((HCNUMVER < 80400)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' all ; fi
285
287
if [ $((HCNUMVER < 80400)) -ne 0 ] ; then $CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK --disable-tests --disable-benchmarks --constraint='deepseq ==1.4.*' --constraint='binary installed' all ; fi
Original file line number Diff line number Diff line change
1
+ ## 0.16.6 - 2023-07-10
2
+
3
+ - Add ` cabal-plan topo ` to the constraint set steps
4
+
1
5
## 0.16.5 - 2023-06-13
2
6
3
7
- Use optparse-applicative-0.18.1.
Original file line number Diff line number Diff line change 1
1
cabal-version : 2.2
2
2
name : haskell-ci
3
- version : 0.16.5
3
+ version : 0.16.6
4
4
synopsis : Cabal package script generator for Travis-CI
5
5
description :
6
6
Script generator (@haskell-ci@) for
Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ run_cmd $CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-detai
523
523
put_info " doctest"
524
524
run_cmd perl -i -e ' while (<ARGV>) { print unless /package-id\s+(base-compat-batteries|bs-cmpt-bttrs)-\d+(\.\d+)*/; }' .ghc.environment.*
525
525
change_dir_if $(( HCNUMVER < 90000 )) ${PKGDIR_haskell_ci}
526
- run_cmd_if $(( HCNUMVER < 90000 )) doctest --fast -XHaskell2010 -XNoImplicitPrelude - XBangPatterns -XDeriveAnyClass -XDeriveFoldable -XDeriveFunctor -XDeriveGeneric -XDeriveTraversable -XDerivingStrategies -XGeneralizedNewtypeDeriving -XScopedTypeVariables -XTypeOperators src
526
+ run_cmd_if $(( HCNUMVER < 90000 )) doctest --fast -XHaskell2010 -XBangPatterns -XDeriveAnyClass -XDeriveFoldable -XDeriveFunctor -XDeriveGeneric -XDeriveTraversable -XDerivingStrategies -XGeneralizedNewtypeDeriving -XNoImplicitPrelude -XScopedTypeVariables -XTypeOperators src
527
527
change_dir_if $(( HCNUMVER < 90000 )) ${PKGDIR_cabal_install_parsers}
528
528
run_cmd_if $(( HCNUMVER < 90000 )) doctest --fast -XHaskell2010 src
529
529
Original file line number Diff line number Diff line change @@ -597,6 +597,8 @@ makeGitHub _argv config@Config {..} gitconfig prj jobs@JobVersions {..} = do
597
597
let constraintFlags = map (\ x -> " --constraint='" ++ x ++ " '" ) (csConstraints cs)
598
598
let allFlags = unwords (testFlag : benchFlag : constraintFlags)
599
599
600
+ sh_cs $ " $CABAL v2-build $ARG_COMPILER " ++ allFlags ++ " all --dry-run"
601
+ sh_cs $ " cabal-plan topo | sort"
600
602
when cfgInstallDeps $ sh_cs $ " $CABAL v2-build $ARG_COMPILER " ++ allFlags ++ " --dependencies-only -j2 all"
601
603
sh_cs $ " $CABAL v2-build $ARG_COMPILER " ++ allFlags ++ " all"
602
604
when (docspecEnabled && csDocspec cs) $
You can’t perform that action at this time.
0 commit comments