RUFF/.drone.yml
LordMZTE 0653042747
All checks were successful
continuous-integration/drone/push Build is passing
ci is hopefully fixed
2021-06-18 23:53:24 +02:00

36 lines
738 B
YAML

kind: pipeline
name: tests
steps:
- name: test-linux
image: rust
commands:
- apt update
- apt install -y cmake
- cargo test -v
---
kind: pipeline
name: release
steps:
- name: release-linux
image: rust
commands:
- apt update
- apt install -y cmake
- cargo build --release -v
- name: publish
image: plugins/gitea-release
settings:
base_url: https://data.tilera.xyz/git
api_key:
from_secret: gitea_token
note: CHANGELOG.md
title: tag-${DRONE_TAG}
files:
- target/release/ruff
when:
event: tag
depends_on:
- release-linux