1
0
Fork 0

simplified benchmark steps

This commit is contained in:
Christian Kühnel 2020-03-25 11:40:51 +01:00
parent 188cb427f9
commit 9a1988fece

View file

@ -61,14 +61,14 @@ COMMANDS = [
Cmd('git checkout release/10.x', 'git checkout release'),
Cmd('git checkout {commit}'),
Cmd('git pull', 'git pull'),
# clean build, make sure ccache (or similar) is empty
Cmd('{pmt_root_path}/scripts/run_cmake.py', 'cmake 1st'),
Cmd('{pmt_root_path}/scripts/run_ninja.py all', 'ninja all 1st'),
Remove('build'),
Cmd('{pmt_root_path}/scripts/run_cmake.py', 'cmake 2nd'),
Cmd('{pmt_root_path}/scripts/run_ninja.py all', 'ninja all 2nd'),
Cmd('{pmt_root_path}/scripts/run_ninja.py check-all', 'ninja check-all 1st'),
Remove('build'),
Cmd('{pmt_root_path}/scripts/run_cmake.py', 'cmake 3nd'),
# now rebuild from ccache (or similar)
Cmd('{pmt_root_path}/scripts/run_cmake.py', 'cmake 2nd'),
Cmd('{pmt_root_path}/scripts/run_ninja.py all', 'ninja all 2nd'),
Cmd('{pmt_root_path}/scripts/run_ninja.py check-all', 'ninja check-all 2nd'),
]