brownpaper/.drone.yml
Shimun faef1469f8
Some checks reported errors
continuous-integration/drone/push Build encountered an error
test in debug
2020-02-15 16:46:01 +01:00

23 lines
494 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: rust:1.37.0-buster
commands:
- apt update && apt install git clang make pkg-config nettle-dev libssl-dev capnproto libsqlite3-dev -y
- cargo test
- cargo build
- name: dockerize
image: plugins/docker
settings:
repo: repo.shimun.net/shimun/brownpaper
registry: repo.shimun.net
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag