unnamed-crypto/.drone.yml
Jake Hillion ad64732dee
All checks were successful
continuous-integration/drone/push Build is passing
removed expansion
2021-06-14 19:43:21 +01:00

61 lines
1.1 KiB
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: format
image: rust:1.52
commands:
- rustup component add rustfmt
- cargo fmt --all -- --check
- name: vendor
image: rust:1.52
volumes:
- name: cache
path: /vendor
commands:
- mkdir .cargo
- cargo vendor /vendor > .cargo/config
- name: test
image: rust:1.52
volumes:
- name: cache
path: /vendor
commands:
- cargo test
- name: build
image: rust:1.52
volumes:
- name: cache
path: /vendor
commands:
- cargo build --release
- tar -czvf target/release/linux_amd64.tar.gz target/release/farm target/release/node target/release/plot target/release/wallet
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.hillion.co.uk
files:
- target/release/linux_amd64.tar.gz
checksum:
- sha256
when:
event:
- tag
volumes:
- name: cache
temp: {}
---
kind: signature
hmac: d7c37edb0847754a42bb7ce0a5d1107690cd061201ac6e6154eef9845bbe0e80
...