fido2luks/.drone.yml
shimunn 95a4f97f58
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
0.2.0
2019-09-22 21:19:33 +02:00

35 lines
692 B
YAML

kind: pipeline
name: default
steps:
- name: fmt
image: rust:1.37.0
commands:
- rustup component add rustfmt
- cargo fmt --all -- --check
- name: test
image: rust:1.37.0
commands:
- apt update && apt install -y libcryptsetup-dev libkeyutils-dev
- cargo test
- name: build
image: rust:1.37.0
commands:
- apt update && apt install -y libcryptsetup-dev libkeyutils-dev
- cargo install -f --path . --root .
when:
event: tag
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: github_release
files:
- bin/fido2luks
checksum:
- md5
- sha256
when:
event: tag