forked from Deuxfleurs/diplonat
23 lines
442 B
YAML
23 lines
442 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
workspace:
|
|
base: /drone/diplonat
|
|
|
|
steps:
|
|
- name: code style
|
|
image: rustlang/rust:nightly-slim
|
|
commands:
|
|
- rustup component add rustfmt --toolchain nightly
|
|
- cargo +nightly fmt --all -- --check
|
|
# - name: code quality
|
|
# image: rust:1.47
|
|
# commands:
|
|
# - cargo clippy -- --deny warnings
|
|
- name: test
|
|
image: rust:1.47
|
|
commands:
|
|
- cargo build --verbose --all
|
|
- cargo test --verbose --all
|
|
|