This commit is contained in:
Cory Schwartz 2021-06-04 16:22:57 -07:00
parent 4dde67750c
commit 39f3384e7c
2 changed files with 19 additions and 0 deletions

View File

@ -899,6 +899,10 @@ workflows:
tags:
only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
- publish-snapcraft:
name: publish-snapcraft-tmp
channel: edge
nightly:
triggers:
- schedule:

View File

@ -27,10 +27,25 @@ parts:
override-build: |
LDFLAGS="" make lotus lotus-miner lotus-worker
cp lotus lotus-miner lotus-worker $SNAPCRAFT_PART_INSTALL
layout:
/var/tmp/filecoin-proof-parameters:
bind: $SNAP_DATA/var/tmp/filecoin-proof-parameters
apps:
lotus:
command: lotus
plugs:
- network
- network-bind
lotus-miner:
command: lotus-miner
plugs:
- network
- network-bind
- opengl
lotus-worker:
command: lotus-worker
plugs:
- network
- network-bind
- opengl