Add some caching to the build
This commit is contained in:
parent
b1b201b8ca
commit
6fb4e4d179
@ -21,7 +21,40 @@ jobs:
|
||||
name: "Clone Submodules"
|
||||
command: |
|
||||
git submodule update --init --recursive
|
||||
- restore_cache:
|
||||
name: "Load Cache: Pipenv References"
|
||||
keys:
|
||||
- pipenv-v1-{{ .Branch }}-{{ checksum "Pipefile.lock" }}
|
||||
- pipenv-v1-{{ .Branch }}-
|
||||
- pipenv-v1-
|
||||
- restore_cache:
|
||||
name: "Load Cache: Python Venv"
|
||||
keys:
|
||||
- venv-v1-{{ .Branch }}-{{ checksum "Pipefile.lock" }}
|
||||
- venv-v1-{{ .Branch }}-
|
||||
- venv-v1-
|
||||
- restore_cache:
|
||||
name: "Load Cache: Yarn"
|
||||
keys:
|
||||
- yarn-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||
- yarn-v1-{{ .Branch }}-
|
||||
- yarn-v1-
|
||||
- run: ./script/setup
|
||||
- save_cache:
|
||||
name: "Save Cache: Pipenv Refrences"
|
||||
paths:
|
||||
- ~/.local/share
|
||||
key: pipenv-v1-{{ .Branch }}-{{ checksum "Pipefile.lock" }}
|
||||
- save_cache:
|
||||
name: "Save Cache: Python Venv"
|
||||
paths:
|
||||
- ./.venv
|
||||
key: venv-v1-{{ .Branch }}-{{ checksum "Pipefile.lock" }}
|
||||
- save_cache:
|
||||
name: "Save Cache: Yarn"
|
||||
paths:
|
||||
- ~/.cache/yarn
|
||||
key: yarn-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- disa-crls
|
||||
|
Loading…
x
Reference in New Issue
Block a user