Static-check: Exclude s390x from dragonball and runtime-rs

At the moment, a project `dragonball` and `runtime-rs` does not support
for s390x. During the enablement, some errors due to the misconfiguration
of Makefile for `make check` and `make vendor` were identified.

This is to skip the build for the affected target of the projects.

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
Hyounggyu Choi 2023-11-21 16:08:22 +01:00
parent c0f57c9e0a
commit 290ecf4c46
2 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,7 @@ include ../../utils.mk
PROJECT_DIRS := $(shell find . -name Cargo.toml -printf '%h\n' | sort -u)
ifeq ($(ARCH), s390x)
default build check test clippy:
default build check test clippy vendor:
@echo "s390x not support currently"
exit 0
else

View File

@ -467,8 +467,14 @@ clean-generated-files:
vendor:
@cargo vendor
ifeq ($(ARCH),x86_64)
##TARGET check: run test
check: $(GENERATED_FILES) standard_rust_check
else
check:
@echo "$(ARCH) is not currently supported"
exit 0
endif
##TARGET run: build and run agent
run: