Skip to content

Instantly share code, notes, and snippets.

@AriFordsham
Created July 5, 2021 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AriFordsham/54862f3eea9314af29da0e12d9331648 to your computer and use it in GitHub Desktop.
Save AriFordsham/54862f3eea9314af29da0e12d9331648 to your computer and use it in GitHub Desktop.
How I reduced my Haskell CI time by 84% - code snippets
cache:
key: "ALL"
paths:
- .stack-work/
image: migamake/stack-build-image:17.0
stack:
script:
- ci/build.sh
image: migamake/stack-build-image:17.0
stack:
script:
- ci/build.sh
variables:
STACK_ROOT: "$CI_PROJECT_DIR/.stack"
cache:
key: "ALL"
paths:
- .stack-work/
- .stack/
stack build --test --coverage --haddock $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment