jensmemesclient/.drone.yml
LordMZTE 1d215cb937
All checks were successful
continuous-integration/drone/push Build is passing
update CD to include changelog
2020-12-29 13:40:08 +01:00

40 lines
912 B
YAML

kind: pipeline
name: tests
steps:
- name: test-linux
image: rust
commands:
- cargo test -v
---
kind: pipeline
name: release
steps:
- name: release-linux
image: rust
commands:
- cargo build --release
- name: release-win
image: lordmzte/rust-win
commands:
- cargo build --release --target x86_64-pc-windows-gnu
- name: publish
image: plugins/gitea-release
settings:
base_url: https://data.tilera.xyz/git
api_key:
from_secret: gitea_token
note: CHANGELOG.md
files:
- target/release/jm
- target/release/jmtoken
- target/x86_64-pc-windows-gnu/release/jm.exe
- target/x86_64-pc-windows-gnu/release/jmtoken.exe
when:
event: tag
depends_on:
- release-linux
- release-win