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: tags:
only: only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/ - /^v\d+\.\d+\.\d+(-rc\d+)?$/
- publish-snapcraft:
name: publish-snapcraft-tmp
channel: edge
nightly: nightly:
triggers: triggers:
- schedule: - schedule:

View File

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