Commit 02274a0b authored by Andrei Barbu's avatar Andrei Barbu

break up package builds into two steps (sometimes stack leaks memory); try to...

break up package builds into two steps (sometimes stack leaks memory); try to forcefully apply --fast to all deps
parent bf8d961f
...@@ -59,8 +59,10 @@ before_install: ...@@ -59,8 +59,10 @@ before_install:
install: install:
# Set path for pkg-config to find zeromq, otherwise install of zeromq4-haskell fails. # Set path for pkg-config to find zeromq, otherwise install of zeromq4-haskell fails.
- export PKG_CONFIG_PATH=$HOME/zeromq/lib/pkgconfig/ - export PKG_CONFIG_PATH=$HOME/zeromq/lib/pkgconfig/
- echo "apply-ghc-options: everything" >> stack.yaml
- stack setup --resolver=$RESOLVER - stack setup --resolver=$RESOLVER
- stack install gtk2hs-buildtools --fast - stack install gtk2hs-buildtools --fast
- stack build hmatrix --resolver=$RESOLVER --fast
- stack build --dependencies-only --resolver=$RESOLVER --fast - stack build --dependencies-only --resolver=$RESOLVER --fast
script: script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment