Created
July 5, 2021 16:42
-
-
Save AriFordsham/54862f3eea9314af29da0e12d9331648 to your computer and use it in GitHub Desktop.
How I reduced my Haskell CI time by 84% - code snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh ci/build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
key: "ALL" | |
paths: | |
- .stack-work/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: migamake/stack-build-image:17.0 | |
stack: | |
script: | |
- ci/build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stack build --test --coverage --haddock $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment