stm32f4disc-demo/.gitlab-ci.yml

19 lines
435 B
YAML
Raw Normal View History

2019-04-02 12:28:26 +02:00
# 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
2019-04-02 12:28:26 +02:00
# Defines stages which are to be executed
stages:
- build
# Run `cargo build` for the project with stable Rust
rust-build:
2019-04-02 12:28:26 +02:00
stage: build
image: rust:latest
script:
- rustc --version && cargo --version
- cargo build --release --jobs 1