fuzzysearch/.drone.yml
2020-12-06 20:59:37 -06:00

33 lines
597 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
- name: test
image: rust:1-slim-buster
commands:
- apt-get update -y && apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libavdevice-dev pkg-config clang llvm
- cargo build
- cargo test
- name: build-latest
image: plugins/docker
settings:
auto_tag: true
password:
from_secret: docker_password
registry: registry.huefox.com
repo: registry.huefox.com/fuzzysearch
username:
from_secret: docker_username
when:
branch:
- master
...