mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 09:56:34 +00:00
@ -36,12 +36,12 @@ check: ECHO
|
||||
# @echo "Checking kernel... ARCH=$(ARCH)"
|
||||
# @exit 1
|
||||
ifeq ($(ARCH), x86_64)
|
||||
@cargo +nightly-2023-08-15 check --workspace $(CARGO_ZBUILD) --message-format=json --target ./src/$(TARGET_JSON)
|
||||
@cargo +nightly-2024-07-23 check --workspace $(CARGO_ZBUILD) --message-format=json --target ./src/$(TARGET_JSON)
|
||||
else ifeq ($(ARCH), riscv64)
|
||||
@cargo +nightly-2023-08-15 check --workspace $(CARGO_ZBUILD) --message-format=json --target $(TARGET_JSON)
|
||||
@cargo +nightly-2024-07-23 check --workspace $(CARGO_ZBUILD) --message-format=json --target $(TARGET_JSON)
|
||||
endif
|
||||
|
||||
test:
|
||||
# 测试内核库
|
||||
@cargo +nightly-2023-08-15 test --workspace --exclude dragonos_kernel
|
||||
@cargo +nightly-2024-07-23 test --workspace --exclude dragonos_kernel
|
||||
|
||||
|
Reference in New Issue
Block a user