File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ commands:
38
38
command : |
39
39
mkdir -p ~/workspace/tests
40
40
make -C opt test SHOW=1 VERBOSE=1
41
- cp test/logs/* ~/workspace/tests
42
41
- run :
43
42
name : Package
44
43
command : make -C opt pack BRANCH="${CIRCLE_BRANCH//[^A-Za-z0-9._-]/_}" INTO=~/workspace/packages SHOW=1
@@ -49,8 +48,9 @@ commands:
49
48
- ' packages/release/*.tgz'
50
49
- ' packages/branch/*.zip'
51
50
- ' packages/branch/*.tgz'
52
- - store_test_results :
53
- path : ~/workspace/tests
51
+ - store_artifacts :
52
+ path : test/logs
53
+
54
54
deploy :
55
55
parameters :
56
56
from :
@@ -100,7 +100,7 @@ jobs:
100
100
101
101
build-macos :
102
102
macos :
103
- xcode : 10.2.1
103
+ xcode : 11.1.0
104
104
steps :
105
105
- run :
106
106
name : Fix macOS Python installation
@@ -159,7 +159,7 @@ jobs:
159
159
mkdir -p ~/workspace/tests
160
160
docker run --gpus all -v $HOME/workspace/tests:/build/test/logs -it --rm redisai-gpu:latest-x64-bionic-test
161
161
no_output_timeout : 30m
162
- - store_test_results :
162
+ - store_artifacts :
163
163
path : ~/workspace/tests
164
164
165
165
deploy_package :
Original file line number Diff line number Diff line change @@ -14,21 +14,21 @@ COV_EXCLUDE += \
14
14
define COVERAGE_RESET
15
15
$(SHOW)set -e ;\
16
16
echo "Starting coverage analysys." ;\
17
- mkdir -p $(COV_DIR) ;\
18
- lcov --directory $(BINROOT) --base-directory $(SRCDIR) -z > /dev/null 2>&1
17
+ mkdir -p $$ (COV_DIR) ;\
18
+ lcov --directory $$ (BINROOT) --base-directory $ $(SRCDIR) -z > /dev/null 2>&1
19
19
endef
20
20
21
21
define COVERAGE_COLLECT
22
22
$(SHOW)set -e ;\
23
23
echo "Collecting coverage data ..." ;\
24
- lcov --capture --directory $(BINROOT) --base-directory $(SRCDIR) --output-file $(COV_INFO) > /dev/null 2>&1 ;\
25
- lcov -o $(COV_INFO) -r $(COV_INFO) $(COV_EXCLUDE) > /dev/null 2>&1
24
+ lcov --capture --directory $$ (BINROOT) --base-directory $$ (SRCDIR) --output-file $ $(COV_INFO) > /dev/null 2>&1 ;\
25
+ lcov -o $$ (COV_INFO) -r $$ (COV_INFO) $ $(COV_EXCLUDE) > /dev/null 2>&1
26
26
endef
27
27
28
28
define COVERAGE_REPORT
29
29
$(SHOW)set -e ;\
30
- lcov -l $(COV_INFO) ;\
31
- genhtml --legend -o $(COV_DIR) $(COV_INFO) > /dev/null 2>&1 ;\
30
+ lcov -l $$ (COV_INFO) ;\
31
+ genhtml --legend -o $$ (COV_DIR) $ $(COV_INFO) > /dev/null 2>&1 ;\
32
32
echo "Coverage info at $$(realpath $$(COV_DIR))/index.html"
33
33
endef
34
34
You can’t perform that action at this time.
0 commit comments