fetch builtin actor bundles as part of prepare workflow

This commit is contained in:
vyzo 2022-04-07 20:54:23 +03:00
parent c9ac0020d7
commit 1dbfb3bea9
2 changed files with 38 additions and 2 deletions

View File

@ -48,6 +48,7 @@ commands:
- run: sudo apt-get install ocl-icd-opencl-dev libhwloc-dev
- run: git submodule sync
- run: git submodule update --init
- fetch_builtin_actors
download-params:
steps:
- restore_cache:
@ -83,6 +84,23 @@ commands:
name: fetch all tags
command: |
git fetch --all
fetch_builtin_actors:
steps:
- restore_cache:
name: restore builtin actors bundle cache
keys:
- 'builtin-actors-v8.car'
paths:
- build/builtin-actors/
- run:
name: fetch builtin actor bundles
command: |
build/builtin-actors/fetch-bundles.sh
- save_cache:
name: save builtin actors bundle cache
key: 'builtin-actors-v8.car'
paths:
- build/builtin-actors/
packer_build:
description: "Run a packer build"
@ -224,7 +242,7 @@ jobs:
test-conformance:
description: |
Run tests using a corpus of interoperable test vectors for Filecoin
Run tests using a corpus of interoperable test vectors for Filecoin
implementations to test their correctness and compliance with the Filecoin
specifications.
parameters:

View File

@ -48,6 +48,7 @@ commands:
- run: sudo apt-get install ocl-icd-opencl-dev libhwloc-dev
- run: git submodule sync
- run: git submodule update --init
- fetch_builtin_actors
download-params:
steps:
- restore_cache:
@ -83,6 +84,23 @@ commands:
name: fetch all tags
command: |
git fetch --all
fetch_builtin_actors:
steps:
- restore_cache:
name: restore builtin actors bundle cache
keys:
- 'builtin-actors-v8.car'
paths:
- build/builtin-actors/
- run:
name: fetch builtin actor bundles
command: |
build/builtin-actors/fetch-bundles.sh
- save_cache:
name: save builtin actors bundle cache
key: 'builtin-actors-v8.car'
paths:
- build/builtin-actors/
packer_build:
description: "Run a packer build"
@ -224,7 +242,7 @@ jobs:
test-conformance:
description: |
Run tests using a corpus of interoperable test vectors for Filecoin
Run tests using a corpus of interoperable test vectors for Filecoin
implementations to test their correctness and compliance with the Filecoin
specifications.
parameters: