2022-03-18 17:05:27 +00:00
|
|
|
kind: pipeline
|
2022-03-18 17:33:41 +00:00
|
|
|
type: docker
|
2022-03-18 17:05:27 +00:00
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: rust
|
|
|
|
commands:
|
|
|
|
- cargo fmt --check
|
|
|
|
- cargo build --all
|
|
|
|
- cargo build --examples --all
|
|
|
|
- cargo test --verbose --all
|
|
|
|
- cargo clippy
|
2022-03-18 17:33:41 +00:00
|
|
|
- name: release
|
|
|
|
image: rust
|
|
|
|
commands:
|
|
|
|
- cargo build
|
|
|
|
environment:
|
|
|
|
CARGO_REGISTRY_TOKEN:
|
|
|
|
from_secret: cargo_registry_token
|