Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
image: haskell:8.2 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: test:
script: stack --no-terminal --system-ghc --no-install-ghc build --test --haddock --no-haddock-deps script: stack --no-terminal --system-ghc --no-install-ghc build --test --haddock --no-haddock-deps
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment