Skip to content

Commit

Permalink
fix: fix the doc CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-stars committed May 2, 2024
1 parent 39bf7bd commit fc6929b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/make/cargo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit fc6929b

Please sign in to comment.