-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
154 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
Oops, something went wrong.