some CI fixes #54
@@ -11,8 +11,8 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: "armv7a-none-eabihf"
|
||||
- run: just check firmware
|
||||
- run: just check host
|
||||
- run: just check-dir firmware
|
||||
- run: just check-dir host
|
||||
|
||||
build:
|
||||
name: Check build
|
||||
@@ -24,8 +24,8 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: "armv7a-none-eabihf"
|
||||
- run: just check firmware
|
||||
- run: just check host
|
||||
- run: just build-dir firmware
|
||||
- run: just build-dir host
|
||||
|
||||
fmt:
|
||||
name: Check formatting
|
||||
@@ -37,8 +37,8 @@ jobs:
|
||||
with:
|
||||
components: rustfmt
|
||||
targets: "armv7a-none-eabihf"
|
||||
- run: just check-fmt firmware
|
||||
- run: just check-fmt host
|
||||
- run: just check-fmt-dir firmware
|
||||
- run: just check-fmt-dir host
|
||||
|
||||
docs:
|
||||
name: Check Documentation Build
|
||||
@@ -62,9 +62,9 @@ jobs:
|
||||
with:
|
||||
components: clippy, rust-src
|
||||
targets: "armv7a-none-eabihf"
|
||||
- run: just clippy firmware
|
||||
- run: just clippy-dir firmware
|
||||
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
- run: just clippy host
|
||||
- run: just clippy-dir host
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
all: check build check-fmt-all clippy docs-zynq
|
||||
all: check build check-fmt clippy docs-zynq
|
||||
|
||||
check: (check-dir "firmware") (check-dir "host")
|
||||
clean: (clean-dir "firmware") (clean-dir "host")
|
||||
build: build-zynq (build-dir "host")
|
||||
fmt: (fmt-dir "firmware") (fmt-dir "host")
|
||||
check-fmt-all: (check-fmt "firmware") (check-fmt "host")
|
||||
check-fmt: (check-fmt-dir "firmware") (check-fmt-dir "host")
|
||||
clippy: (clippy-dir "firmware") (clippy-dir "host")
|
||||
|
||||
check-dir target:
|
||||
@@ -19,7 +19,7 @@ build-zynq: (build-dir "firmware")
|
||||
clean-dir target:
|
||||
cd {{target}} && cargo clean
|
||||
|
||||
check-fmt target:
|
||||
check-fmt-dir target:
|
||||
cd {{target}} && cargo +stable fmt --all -- --check
|
||||
|
||||
fmt-dir target:
|
||||
|
||||
Reference in New Issue
Block a user