Skip to content

Commit

Permalink
chore: don't actually generate parameters but be cheaper
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Aug 28, 2024
1 parent 9b60ba1 commit 2d8da29
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
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: Install required packages
# run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev libhwloc-dev

- name: Generate proof parameters
run: cargo run --release --no-default-features --bin paramcache -- --sector-sizes=${{ matrix.size }}
#run: cargo run --release --no-default-features --bin paramcache -- --sector-sizes=${{ matrix.size }}
run: mkdir -p /var/tmp/filecoin-proof-parameters/ && touch /var/tmp/filecoin-proof-parameters/${{ matrix.size }}.params

#- name: Cache proof parameters
# id: cache-parameters
Expand Down Expand Up @@ -152,8 +153,10 @@ jobs:
#name: my-artifact
path: /var/tmp/filecoin-proof-parameters/
merge-multiple: true
github-token: ${{ github.token }}
repository: ${{ github.action_repository }}
#github-token: ${{ github.token }}
#repository: ${{ github.action_repository }}
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Display structure of downloaded files
run: ls -lR /var/tmp/filecoin-proof-parameters/

Expand Down

0 comments on commit 2d8da29

Please sign in to comment.