Commit 838e712d authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[ci] add .stack to cache dir

parent 3803107e
Pipeline #2267 canceled with stage
in 1 minute and 7 seconds
...@@ -21,8 +21,10 @@ docs: ...@@ -21,8 +21,10 @@ docs:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- .stack
- .stack-root/ - .stack-root/
- .stack-work/ - .stack-work/
- target
script: script:
- stack build --no-terminal --haddock --no-haddock-deps --fast - stack build --no-terminal --haddock --no-haddock-deps --fast
- cp -R "$(stack path --local-install-root)"/doc ./output - cp -R "$(stack path --local-install-root)"/doc ./output
...@@ -36,8 +38,10 @@ test: ...@@ -36,8 +38,10 @@ test:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- .stack
- .stack-root/ - .stack-root/
- .stack-work/ - .stack-work/
- target
script: script:
- stack test --no-terminal --fast - stack test --no-terminal --fast
......
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