Skip to content

Commit

Permalink
fix attempt 3
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuthr committed Jun 25, 2024
1 parent 6b9c09c commit 09349b9
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 103 deletions.
25 changes: 25 additions & 0 deletions .github/actions/download-params/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Download Params'
description: 'Restore and fetch Filecoin proof parameters'

runs:
using: 'composite'
steps:
- name: Run boostci
run: make boostci
- name: Restore parameters cache
uses: actions/cache@v2
with:
path: /var/tmp/filecoin-proof-parameters/
key: v25-8mb-lotus-params
- name: Fetch parameters
run: ./boostci fetch-params 8388608
- name: Save parameters cache
uses: actions/cache@v2
with:
path: /var/tmp/filecoin-proof-parameters/
key: v25-8mb-lotus-params
- name: Upload parameters
uses: actions/upload-artifact@v2
with:
name: filecoin-proof-parameters
path: /var/tmp/filecoin-proof-parameters/
16 changes: 16 additions & 0 deletions .github/actions/install-deps/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Install Dependencies'
description: 'Install common dependencies'

runs:
using: 'composite'
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y openssh-client git ocl-icd-opencl-dev libhwloc-dev hwloc
- name: Fetch all tags
run: git fetch --all
- name: Sync submodules
run: git submodule sync
- name: Update submodules
run: git submodule update --init
15 changes: 15 additions & 0 deletions .github/actions/setup-go/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'Setup Go'
description: 'Setup Go environment'

inputs:
go-version:
description: 'Go version to use'
required: true

runs:
using: 'composite'
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ inputs.go-version }}
Loading

0 comments on commit 09349b9

Please sign in to comment.