blob: ebf79a7fce5907fdd999f214f6ad28e10e7095d4 (
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
27
|
# 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 update stable
rustup self upgrade-data
rustup default stable
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
|