Skip to content

Commit

Permalink
chore: generate parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Aug 28, 2024
1 parent 33b5a9b commit ccec80c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,20 @@ jobs:
toolchain: ${{needs.set-msrv.outputs.msrv}}
- name: Install required packages
run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev libhwloc-dev
- name: Genereate he parameters for testing

- name: Cache proof parameters
id: cache-parameters
uses: actions/cache@v4
with:
path: /var/tmp/filecoin-proof-parameters/
#key: proof-params-v28-n-${{ runner.os }}-${{ hashFiles('filecoin-proofs/parameters.json') }}
key: proof-params-v28-n-${{ hashFiles('filecoin-proofs/parameters.json') }}
- name: Generate proof parameters
if: steps.cache-parameters.outputs.cache-hit != 'true'
#run: cargo build --release --no-default-features --bin paramcache --sector-sizes='2048,4096,16384,32768'
run: cargo build --release --no-default-features --bin paramcache --sector-sizes='2048'

- name: Test in release profile
run: cargo test --verbose --release --workspace --all-targets
## Some `storage-proofs-update` tests need to run sequentially due
Expand Down

0 comments on commit ccec80c

Please sign in to comment.