diff --git a/.circleci/config.yml b/.circleci/config.yml index 61c87a3ba..339483948 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -175,15 +175,14 @@ jobs: - checkout - attach_workspace: at: "." - - restore_cache: - keys: - - cargo-v13-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}-{{ arch }} - - restore_cache: - keys: - - parameter-cache-{{ .Revision }} - run: name: Install jq command: apt-get install time jq -yqq + - run: + name: Ensure existence of Groth parameters and keys on remote host + command: | + ./fil-proofs-tooling/scripts/paramcache-remote.sh "${CIRCLE_BRANCH}" "${BENCHMARK_SERVER_SSH_USERNAME}@${BENCHMARK_SERVER_IP_ADDR}" "-z=$((1024*1024*1024))" + no_output_timeout: 60m - run: name: Run hash-constraints benchmarks on remote host command: | diff --git a/fil-proofs-tooling/scripts/paramcache-remote.sh b/fil-proofs-tooling/scripts/paramcache-remote.sh new file mode 100755 index 000000000..b1f942e02 --- /dev/null +++ b/fil-proofs-tooling/scripts/paramcache-remote.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +set -e + +CMDS=$(cat <