2020-01-17 23:13:24 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2020-12-07 02:02:01 +00:00
|
|
|
- name: test
|
2020-12-07 02:59:37 +00:00
|
|
|
image: rust:1-slim-buster
|
2020-12-07 02:02:01 +00:00
|
|
|
commands:
|
2020-12-07 02:59:37 +00:00
|
|
|
- apt-get update -y && apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libavdevice-dev pkg-config clang llvm
|
2020-12-07 02:02:01 +00:00
|
|
|
- cargo build
|
|
|
|
- cargo test
|
|
|
|
|
2020-02-16 05:50:09 +00:00
|
|
|
- name: build-latest
|
2020-01-17 23:13:24 +00:00
|
|
|
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
|
2020-02-16 05:50:09 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
2020-01-17 23:13:24 +00:00
|
|
|
|
|
|
|
...
|