Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Informatik 8
CoPaR
Commits
ec802c90
Commit
ec802c90
authored
Jun 19, 2018
by
Hans-Peter Deifel
Browse files
ci: Enable caching of stack artifacts
This should reduce the build time in CI drastically.
parent
7d25b45a
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ec802c90
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment