Add Drone CI config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
KAAAsS 2021-02-05 18:32:21 +08:00
parent fd96a13916
commit 9596694941
Signed by: KAAAsS
GPG Key ID: D56625F3E671882F

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: rust
environment:
SECRET_INPUT:
from_secret: secret_input
commands:
- cargo build --verbose --all
- cargo test --verbose --all
# Simple test
- 'echo "Input: $SECRET_INPUT"'
- cargo run $SECRET_INPUT > output
- 'echo "Output: " && cat output'