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:
parent
f872c93ad1
commit
cf648a8453
@ -54,7 +54,7 @@ for test in tests:
|
|||||||
dirname = dirname.replace("/build_debug/", "/build_coverage/")
|
dirname = dirname.replace("/build_debug/", "/build_coverage/")
|
||||||
curdir_abs = os.path.normpath(os.path.join(SCRIPT_DIR, dirname))
|
curdir_abs = os.path.normpath(os.path.join(SCRIPT_DIR, dirname))
|
||||||
curdir_rel = os.path.relpath(curdir_abs, WORKSPACE_DIR)
|
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"):
|
elif name.startswith("benchmark"):
|
||||||
dirname = dirname.replace("/build_debug/", "/build_release/")
|
dirname = dirname.replace("/build_debug/", "/build_release/")
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
- name: macro_benchmark_summary
|
- name: macro_benchmark_summary
|
||||||
project: ^mg-master-diff$ # regex to match only 'mg-master-diff'
|
project: ^mg-master-diff$ # regex to match only 'mg-master-diff'
|
||||||
type: data process
|
type: data process
|
||||||
|
require_runs: ^macro_benchmark(_parent)?__query_suite$ # regex to match our runs
|
||||||
cd: ../../..
|
cd: ../../..
|
||||||
commands: >
|
commands: >
|
||||||
./memgraph/tools/apollo/macro_benchmark_summary
|
./memgraph/tools/apollo/macro_benchmark_summary
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
- name: code_coverage
|
- name: code_coverage
|
||||||
type: data process
|
type: data process
|
||||||
|
require_runs: ^unit__.+ # regex to match all unit runs
|
||||||
commands: ./coverage_convert
|
commands: ./coverage_convert
|
||||||
infiles:
|
infiles:
|
||||||
- coverage_convert # coverage_convert script
|
- coverage_convert # coverage_convert script
|
||||||
|
Loading…
Reference in New Issue
Block a user