mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 15:00:25 +03:00
Make doctest build faster (no optimization)
This commit is contained in:
parent
5c5e7feada
commit
f6575228c4
2
.github/workflows/haskell.yml
vendored
2
.github/workflows/haskell.yml
vendored
@ -207,7 +207,7 @@ jobs:
|
||||
rm -f cabal-docspec.xz
|
||||
chmod a+x $HOME/.cabal/bin/cabal-docspec
|
||||
cabal update
|
||||
cabal build all
|
||||
cabal build --project-file cabal.project.doctest all
|
||||
$HOME/.cabal/bin/cabal-docspec --version
|
||||
$HOME/.cabal/bin/cabal-docspec --timeout 60 --check-properties --property-variables xs
|
||||
elif test -z "$COVERAGE"
|
||||
|
@ -1,6 +1,8 @@
|
||||
packages: streamly.cabal
|
||||
, core/streamly-core.cabal
|
||||
, docs/streamly-docs.cabal
|
||||
-- for QuickCheck in property doctests
|
||||
, test/streamly-tests.cabal
|
||||
|
||||
-- Keep the flags same as cabal.project.O0 because we utilize the same build
|
||||
-- for doctest in CI.
|
||||
@ -16,3 +18,7 @@ package streamly-core
|
||||
package streamly-docs
|
||||
flags: -opt
|
||||
ghc-options: -O0 -Werror
|
||||
|
||||
package streamly-tests
|
||||
flags: -opt
|
||||
ghc-options: -O0 -Werror
|
||||
|
Loading…
Reference in New Issue
Block a user