From 1dbfb3bea90ebbb852f1285782bb2d6276c1e67e Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 7 Apr 2022 20:54:23 +0300 Subject: [PATCH] fetch builtin actor bundles as part of prepare workflow --- .circleci/config.yml | 20 +++++++++++++++++++- .circleci/template.yml | 20 +++++++++++++++++++- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f863d6817..ca94d2a77 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/.circleci/template.yml b/.circleci/template.yml index 82e5bb8f6..0543b3676 100644 --- a/.circleci/template.yml +++ b/.circleci/template.yml @@ -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: