mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-05 15:34:21 +01:00
Build is a time consumable operation, skip build while let ci run faster. Fixes: #5777 Signed-off-by: Bin Liu <bin@hyper.sh>
37 lines
516 B
Makefile
37 lines
516 B
Makefile
# Copyright (c) 2020-2021 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
include ../../../utils.mk
|
|
|
|
.DEFAULT_GOAL := default
|
|
default: build
|
|
|
|
build:
|
|
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
|
|
|
|
static-checks-build:
|
|
@echo "INFO: static-checks-build do nothing.."
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
vendor:
|
|
cargo vendor
|
|
|
|
test:
|
|
@cargo test --all -- --nocapture
|
|
|
|
install:
|
|
|
|
check: standard_rust_check
|
|
|
|
.PHONY: \
|
|
build \
|
|
check \
|
|
clean \
|
|
install \
|
|
test \
|
|
vendor
|