forked from milvus-io/milvus
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update main.yaml for Github Action (milvus-io#6381)
Signed-off-by: quicksilver <[email protected]>
- Loading branch information
1 parent
346e9cb
commit da62886
Showing
9 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ tools/bin/revive: tools/check/go.mod | |
cppcheck: | ||
@(env bash ${PWD}/scripts/core_build.sh -l) | ||
|
||
generated-proto-go:export protoc:=${PWD}/cmake_build/thirdparty/protobuf/protobuf-build/protoc | ||
generated-proto-go: export protoc:=${PWD}/cmake_build/thirdparty/protobuf/protobuf-build/protoc | ||
generated-proto-go: build-cpp | ||
@mkdir -p ${GOPATH}/bin | ||
@which protoc-gen-go 1>/dev/null || (echo "Installing protoc-gen-go" && go get github.com/golang/protobuf/[email protected]) | ||
|
@@ -53,7 +53,7 @@ else | |
@GO111MODULE=on env bash $(PWD)/scripts/gofmt.sh tests/go/ | ||
endif | ||
|
||
lint:tools/bin/revive | ||
lint: tools/bin/revive | ||
@echo "Running $@ check" | ||
@tools/bin/revive -formatter friendly -config tools/check/revive.toml ./... | ||
|
||
|
@@ -97,19 +97,21 @@ milvus: build-cpp | |
build-go: milvus | ||
|
||
build-cpp: | ||
@echo "Building Milvus cpp library ..." | ||
@(env bash $(PWD)/scripts/core_build.sh -f "$(CUSTOM_THIRDPARTY_PATH)") | ||
@(env bash $(PWD)/scripts/cwrapper_build.sh -t Release -f "$(CUSTOM_THIRDPARTY_PATH)") | ||
@(env bash $(PWD)/scripts/cwrapper_dablooms_build.sh -t Release -f "$(CUSTOM_THIRDPARTY_PATH)") | ||
@(env bash $(PWD)/scripts/cwrapper_rocksdb_build.sh -t Release -f "$(CUSTOM_THIRDPARTY_PATH)") | ||
|
||
build-cpp-with-unittest: | ||
@echo "Building Milvus cpp library with unittest ..." | ||
@(env bash $(PWD)/scripts/core_build.sh -u -f "$(CUSTOM_THIRDPARTY_PATH)") | ||
@(env bash $(PWD)/scripts/cwrapper_build.sh -t Release -f "$(CUSTOM_THIRDPARTY_PATH)") | ||
|
||
# Runs the tests. | ||
unittest: test-cpp test-go | ||
|
||
test-go:build-cpp | ||
test-go: build-cpp | ||
@echo "Running go unittests..." | ||
@echo "disable go unittest for now, enable it later" | ||
@(env bash $(PWD)/scripts/run_go_unittest.sh) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters