Commit ec802c90 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel
Browse files

ci: Enable caching of stack artifacts

This should reduce the build time in CI drastically.
parent 7d25b45a
image: haskell:8.2
# Change stacks global directory to be inside the project directory,
# since we can only cache local dependencies.
variables:
STACK_ROOT: "$CI_PROJECT_DIR/.stack-root"
cache:
paths:
- .stack-root/
test:
script: stack --no-terminal --system-ghc --no-install-ghc build --test --haddock --no-haddock-deps
Supports Markdown
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