some CI fixes #54

Merged
muellerr merged 1 commits from ci-fixes into main 2026-03-13 17:47:32 +01:00
2 changed files with 11 additions and 11 deletions
+8 -8
View File
@@ -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
+3 -3
View File
@@ -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: