Persist the make cache
If we don't do this, the test job will try to rebuild everything.
That defeats the purpose.
Probably, we've got our Make dependencies/targets setup improprerly.
commitc1a34f3b86e074c9595771ed13ff4eace1af01c4
authorjoneshf <jones3.hardy@gmail.com>
dateSun 29 Jul 2018, 12:32 (8 years ago)
parent2fca1f2
.circleci/config.yml+4
@@ -14,6 +14,10 @@ jobs:
1414 - run:
1515 name: Compile
1616 command: make build
17+ - persist_to_workspace:
18+ root: .make
19+ paths:
20+ - '*'
1721 - persist_to_workspace:
1822 root: dist
1923 paths:
Makefile−3
@@ -30,9 +30,6 @@ $(EMPTY)/build: $(EMPTY)/stack-setup README.md Setup.hs package.yaml stack.yaml
3030 cp -R $$($(STACK) $(STACK_FLAGS) path --dist-dir)/build $(DIST)/build
3131 touch $@
3232
33−$(EMPTY)/doc-test: $(EMPTY)/build
34− touch $@
35−
3633$(EMPTY)/stack-setup: | $(EMPTY)
3734 $(STACK) $(STACK_FLAGS) setup
3835 touch $@