ci-test/.drone.yml
2021-02-05 18:32:21 +08:00

17 lines
376 B
YAML

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'