Drone CI build pipeline #101

Merged
glyph merged 16 commits from drone_ci_test into main 2022-04-15 09:05:10 +00:00
1 changed files with 16 additions and 2 deletions
Showing only changes of commit b158fba147 - Show all commits

View File

@ -1,17 +1,31 @@
kind: pipeline
type: docker
name: test-on-amd64
platform:
arch: amd64
steps:
- name: rustfmt
image: rust:buster
commands:
- rustup component add rustfmt
- cargo fmt --check
- name: clippy
image: rust:buster
commands:
- rustup component add clippy rustfmt
- cargo fmt --check
- rustup component add clippy
- cargo clippy -- -D warnings
- name: check
image: rust:buster
commands:
- cargo check
- name: test
image: rust:buster
commands:
- cargo test
trigger: