blob: 6e686b27e82e3f3c7ebe0456a5448ed3cba73c96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
version: 2
jobs:
build:
docker:
- image: 'fpco/stack-build:latest'
steps:
- checkout
- restore_cache:
key: 'v3-hakyll-{{ arch }}-{{ .Branch }}'
- run:
# We set jobs to 1 here because that prevents Out-Of-Memory exceptions
# while compiling dependencies.
name: 'Install dependencies'
command: '.circleci/tickle.sh stack build --test --copy-bins --jobs=1'
- save_cache:
key: 'v3-hakyll-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
paths:
- '~/.stack-work'
- '~/.stack'
|