Skip to content

Commit

Permalink
Clear caches
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Oct 14, 2021
1 parent bb80efa commit 0493a90
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ commands:
- run: git ls-tree HEAD liquid-fixpoint > liquid-fixpoint-commit
- restore_cache:
keys:
- cabal-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "<< parameters.project_file >>" }}-{{ checksum "liquid-fixpoint-commit" }}
- cabal-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "<< parameters.project_file >>" }}
- cabal-{{ checksum "liquidhaskell.cabal" }}
- cabal-cache-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "<< parameters.project_file >>" }}-{{ checksum "liquid-fixpoint-commit" }}
- cabal-cache-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "<< parameters.project_file >>" }}
- cabal-cache-{{ checksum "liquidhaskell.cabal" }}
- run:
name: Dependencies
command: |
<< parameters.cabal_update_command >>
cabal v2-clean
cabal v2-build --project-file << parameters.project_file >> --flag include --flag devel -j1 --enable-tests all
- save_cache:
key: cabal-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "<< parameters.project_file >>" }}-{{ checksum "liquid-fixpoint-commit" }}
key: cabal-cache-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "<< parameters.project_file >>" }}-{{ checksum "liquid-fixpoint-commit" }}
paths:
- ~/.cabal/store
- ./dist-newstyle
Expand Down Expand Up @@ -103,17 +103,17 @@ commands:
- run: git ls-tree HEAD liquid-fixpoint > liquid-fixpoint-commit
- restore_cache:
keys:
- stack-{{ checksum "<< parameters.stack_yaml_file >>" }}-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "liquid-fixpoint-commit" }}
- stack-{{ checksum "<< parameters.stack_yaml_file >>" }}-{{ checksum "liquidhaskell.cabal" }}
- stack-{{ checksum "<< parameters.stack_yaml_file >>" }}
- stack-cache-{{ checksum "<< parameters.stack_yaml_file >>" }}-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "liquid-fixpoint-commit" }}
- stack-cache-{{ checksum "<< parameters.stack_yaml_file >>" }}-{{ checksum "liquidhaskell.cabal" }}
- stack-cache-{{ checksum "<< parameters.stack_yaml_file >>" }}
- run:
name: Dependencies
command: |
wget -qO- https://get.haskellstack.org/ | sh
stack --no-terminal --stack-yaml << parameters.stack_yaml_file >> setup
stack --no-terminal --stack-yaml << parameters.stack_yaml_file >> build -j2 --only-dependencies --test --no-run-tests << parameters.extra_build_flags >>
- save_cache:
key: stack-{{ checksum "<< parameters.stack_yaml_file >>" }}-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "liquid-fixpoint-commit" }}
key: stack-cache-{{ checksum "<< parameters.stack_yaml_file >>" }}-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "liquid-fixpoint-commit" }}
paths:
- ~/.stack
- ./.stack-work
Expand Down

0 comments on commit 0493a90

Please sign in to comment.