24 lines
420 B
YAML
24 lines
420 B
YAML
---
|
|
kind: pipeline
|
|
name: global
|
|
|
|
steps:
|
|
- name : lint
|
|
image: rust
|
|
pull: true
|
|
errignore: true
|
|
commands:
|
|
- apt-get update && apt-get install -y cmake
|
|
- rustup component add rustfmt
|
|
- rustup component add clippy
|
|
- cargo clippy
|
|
- cargo fmt -- --check
|
|
- name : test
|
|
image: rust
|
|
pull: true
|
|
errignore: true
|
|
commands:
|
|
- apt-get update && apt-get install -y cmake
|
|
- cargo test --all
|
|
- cargo build
|