Optimize Apollo build process

Reviewers: buda, teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1394
This commit is contained in:
Matej Ferencevic 2018-05-16 11:14:01 +02:00
parent f872c93ad1
commit cf648a8453
3 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,7 @@ for test in tests:
dirname = dirname.replace("/build_debug/", "/build_coverage/")
curdir_abs = os.path.normpath(os.path.join(SCRIPT_DIR, dirname))
curdir_rel = os.path.relpath(curdir_abs, WORKSPACE_DIR)
outfile_paths.append("\./" + curdir_rel.replace(".", "\\.") + "/.+")
outfile_paths.append("\./" + curdir_rel.replace(".", "\\.") + "/default\\.profraw")
elif name.startswith("benchmark"):
dirname = dirname.replace("/build_debug/", "/build_release/")

View File

@ -49,6 +49,7 @@
- name: macro_benchmark_summary
project: ^mg-master-diff$ # regex to match only 'mg-master-diff'
type: data process
require_runs: ^macro_benchmark(_parent)?__query_suite$ # regex to match our runs
cd: ../../..
commands: >
./memgraph/tools/apollo/macro_benchmark_summary

View File

@ -12,6 +12,7 @@
- name: code_coverage
type: data process
require_runs: ^unit__.+ # regex to match all unit runs
commands: ./coverage_convert
infiles:
- coverage_convert # coverage_convert script