Rohan Sircar 3 years ago
parent
commit
af0a3ce0c5
  1. 20
      .drone.yml

20
.drone.yml

@ -1,9 +1,23 @@
---
kind: pipeline
name: default
steps:
- name: check
image: guangie88/rustfmt-clippy:1.51.0-stable
commands:
- cargo fmt --all -- --check
- cargo check --workspace
- name: lint
image: guangie88/rustfmt-clippy:1.51.0-stable
commands:
- cargo clippy -- -D warnings
- name: test
image: rust:1.51.0
image: guangie88/rustfmt-clippy:1.51.0-stable
commands:
- cargo test --all
- name: package
image: guangie88/rustfmt-clippy:1.51.0-stable
depends_on: [check, test, lint]
commands:
- cargo build --verbose --all
- cargo test --verbose --all
- cargo build --release --all
Loading…
Cancel
Save