mirror of
https://github.com/Syfaro/fuzzysearch.git
synced 2024-11-05 22:43:03 +00:00
33 lines
597 B
YAML
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
|
|
|
|
...
|