# Use Rust docker image, see: https://hub.docker.com/_/rust/ image: rust:latest # Add the thumbv7em-none-eabihf target for Rust before_script: - rustup target add thumbv7em-none-eabihf # Defines stages which are to be executed stages: - build # Run `cargo build` for the project with stable Rust rust-build: stage: build image: rust:latest script: - rustc --version && cargo --version - cargo build --release --jobs 1