diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5dcc824..6d5752e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,13 +32,13 @@ jobs: with: arch: aarch64 - name: Clippy for the default target - run: make clippy + run: make pre_c & make clippy - name: Clippy for x86_64 - run: make clippy ARCH=x86_64 + run: make pre_c & make clippy ARCH=x86_64 - name: Clippy for riscv64 - run: make clippy ARCH=riscv64 + run: make pre_c & make clippy ARCH=riscv64 - name: Clippy for aarch64 - run: make clippy ARCH=aarch64 + run: make pre_c & make clippy ARCH=aarch64 - name: Check code format run: cargo fmt --all -- --check diff --git a/Cargo.lock b/Cargo.lock index 0f0054b..00eae8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -488,6 +488,7 @@ dependencies = [ [[package]] name = "axprocess" version = "0.1.0" +source = "git+https://github.com/Starry-OS/axprocess.git#4eebad4d5d1022404b713c855d7d4cd85699e406" dependencies = [ "axalloc", "axconfig", diff --git a/scripts/make/cargo.mk b/scripts/make/cargo.mk index 9d6ace6..1fb6352 100644 --- a/scripts/make/cargo.mk +++ b/scripts/make/cargo.mk @@ -36,7 +36,7 @@ define cargo_clippy $(call run_cmd,cargo clippy,-p axlog -p percpu -p percpu_macros $(1) $(verbose)) endef -all_packages := $(wildcard $(CURDIR)/crates/*) +all_packages := $(shell ls $(CURDIR)/crates) define cargo_doc $(call run_cmd,cargo doc,--no-deps --all-features --workspace --exclude "arceos-*" $(verbose))