Commit 320ade0f authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[ci] add "deps" step

This is to add an initial step for the CI so that, hopefully, it will
cache deps and next step (docs and tests) will be faster.
parent 304a0676
Pipeline #2305 passed with stage
in 85 minutes and 14 seconds
......@@ -14,9 +14,22 @@ variables:
#- apt-get install make xz-utils
stages:
- deps
- docs
- test
deps:
cache:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths:
- .stack
- .stack-root/
- .stack-work/
- target
script:
- stack build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast
docs:
cache:
# cache per branch name
......@@ -47,3 +60,4 @@ test:
- stack test --no-terminal --fast
# TOOO
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