2022-03-06 18:18:09 +01:00
|
|
|
pipeline:
|
|
|
|
fmt:
|
|
|
|
group: default
|
2022-10-15 02:03:28 +02:00
|
|
|
image: rust_full
|
2022-03-06 18:18:09 +01:00
|
|
|
commands:
|
|
|
|
- cd firmware/rust/
|
|
|
|
- cargo fmt --all -- --check
|
|
|
|
|
|
|
|
clippy:
|
|
|
|
group: default
|
2022-10-15 02:03:28 +02:00
|
|
|
image: rust_full
|
2022-03-06 18:18:09 +01:00
|
|
|
commands:
|
|
|
|
- cd firmware/rust/
|
|
|
|
- cargo clippy --all-features
|
|
|
|
|
|
|
|
doc:
|
|
|
|
group: default
|
2022-10-15 02:03:28 +02:00
|
|
|
image: rust_full
|
2022-03-06 18:18:09 +01:00
|
|
|
commands:
|
|
|
|
- cd firmware/rust/
|
|
|
|
- cargo doc --all-features
|
|
|
|
|
|
|
|
build:
|
|
|
|
group: default
|
2022-10-15 02:03:28 +02:00
|
|
|
image: rust_full
|
2022-03-06 18:18:09 +01:00
|
|
|
commands:
|
|
|
|
- cd firmware/rust/
|
|
|
|
- cargo build --all-features
|
2022-04-08 01:15:32 +02:00
|
|
|
|
|
|
|
build_release:
|
|
|
|
group: default
|
2022-10-15 02:03:28 +02:00
|
|
|
image: rust_full
|
2022-04-08 01:15:32 +02:00
|
|
|
commands:
|
|
|
|
- cd firmware/rust/
|
|
|
|
- cargo build --all-features --release
|