add drone cicd
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4d592bd3d1
commit
8df1e025c2
|
@ -0,0 +1,46 @@
|
|||
kind: pipeline
|
||||
name: tests
|
||||
steps:
|
||||
- name: test-linux
|
||||
image: rust
|
||||
commands:
|
||||
- cargo test -v
|
||||
|
||||
# Try to build docker image
|
||||
- name: test-docker-build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: lordmzte/ruff
|
||||
# Don't push
|
||||
dry_run: true
|
||||
---
|
||||
kind: pipeline
|
||||
name: release
|
||||
steps:
|
||||
- name: release-linux
|
||||
image: rust
|
||||
commands:
|
||||
- cargo build --release -v
|
||||
|
||||
- name: release-win
|
||||
image: lordmzte/rust-win
|
||||
commands:
|
||||
- cargo build --release --target x86_64-pc-windows-gnu -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
|
||||
- target/x86_64-pc-windows-gnu/release/ruff.exe
|
||||
when:
|
||||
event: tag
|
||||
depends_on:
|
||||
- release-linux
|
||||
- release-win
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
v0.1.0
|
||||
# ruff
|
||||
initial release
|
||||
- does everything to old uffbot could
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
# RUFF
|
||||
|
||||
[![Build Status](https://drone.tilera.xyz/api/badges/LordMZTE/RUFF/status.svg)](https://drone.tilera.xyz/LordMZTE/RUFF)
|
||||
|
||||
The successor to ITbyHF's crappy golang UFFbot written in rust and compatible with most chat platforms through matterbridge.
|
||||
|
||||
## Compiling
|
||||
|
|
Loading…
Reference in New Issue