Cache params
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
465d29f89f
commit
2fc34f02d4
@ -13,6 +13,25 @@ commands:
|
|||||||
- checkout
|
- checkout
|
||||||
- run: git submodule sync
|
- run: git submodule sync
|
||||||
- run: git submodule update --init
|
- run: git submodule update --init
|
||||||
|
download-params:
|
||||||
|
steps:
|
||||||
|
- restore_cache:
|
||||||
|
name: Restore parameters cache
|
||||||
|
keys:
|
||||||
|
- 'v1-lotus-params-{{ checksum build/proof-params/parameters.json }}'
|
||||||
|
paths:
|
||||||
|
- /var/tmp/filecoin-proof-parameters/
|
||||||
|
- build/.params-1024
|
||||||
|
- run:
|
||||||
|
command: GO111MODULE=on go get github.com/ipfs/ipget@c0cbd7d9d1925965a5aa0895d5ff32dbdb4a009e
|
||||||
|
working_directory: "~"
|
||||||
|
- run: make build/.params-1024
|
||||||
|
- save_cache:
|
||||||
|
name: Save parameters cache
|
||||||
|
key: 'v1-lotus-params-{{ checksum build/proof-params/parameters.json }}'
|
||||||
|
paths:
|
||||||
|
- /var/tmp/filecoin-proof-parameters/
|
||||||
|
- build/.params-1024
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -62,10 +81,8 @@ jobs:
|
|||||||
- install-deps
|
- install-deps
|
||||||
- prepare
|
- prepare
|
||||||
- go/mod-download
|
- go/mod-download
|
||||||
- run:
|
|
||||||
command: GO111MODULE=on go get github.com/ipfs/ipget@c0cbd7d9d1925965a5aa0895d5ff32dbdb4a009e
|
|
||||||
working_directory: "~"
|
|
||||||
- run: echo 'export PATH=$HOME/.cargo/bin:$PATH' >> $BASH_ENV
|
- run: echo 'export PATH=$HOME/.cargo/bin:$PATH' >> $BASH_ENV
|
||||||
|
- download-params
|
||||||
- run:
|
- run:
|
||||||
command: make deps
|
command: make deps
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
@ -120,9 +137,7 @@ jobs:
|
|||||||
- install-deps
|
- install-deps
|
||||||
- prepare
|
- prepare
|
||||||
- go/mod-download
|
- go/mod-download
|
||||||
- run:
|
- download-params
|
||||||
command: GO111MODULE=on go get github.com/ipfs/ipget@c0cbd7d9d1925965a5aa0895d5ff32dbdb4a009e
|
|
||||||
working_directory: "~"
|
|
||||||
- run:
|
- run:
|
||||||
command: make deps
|
command: make deps
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
|
Loading…
Reference in New Issue
Block a user