Skip to content
Snippets Groups Projects
Commit ca8ee41a authored by Stephen D's avatar Stephen D
Browse files

add ci

parent 3a0048de
No related branches found
No related tags found
No related merge requests found
image: "rust:latest"
stages:
- lint
- build
before_script:
- rustup target add thumbv7em-none-eabihf
- rustup component add rustfmt
- rustup component add clippy
lint:
stage: lint
script:
- cargo fmt -- --check
- cargo clippy --all-features -- -D warnings
build:
stage: build
script:
- cargo build --release
artifacts:
paths:
- target/thumbv7em-none-eabihf/release/cats-mobile-transceiver-mainboard
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment