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

Merge branch 'ci' into 'master'

add ci

See merge request cats/mobile-transceiver-software!2
parents 3a0048de b5851f4c
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
- cargo install flip-link
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