blob: 133f94242bafc165d8ce222f5952d1866a4d3d9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
# SPDX-License-Identifier: CC0-1.0
image: archlinux
packages:
- rustup
sources:
- https://git.ireas.org/ntw
tasks:
- setup: |
rustup set profile minimal
rustup default 1.34.2
rustup target add thumbv7m-none-eabi
rustup component add rustfmt
rustup component add clippy
- version: |
rustc -V
- build: |
cd ntw
cargo build --release
size target/thumbv7m-none-eabi/release/ntw
- format: |
cd ntw
cargo fmt -- --check
- clippy: |
cd ntw
cargo clippy -- -D warnings
|