better build setups for testing and release

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-03 00:00:01 +00:00
parent 9693c23fe6
commit 196dd616ff
5 changed files with 43 additions and 13 deletions

View File

@@ -19,12 +19,12 @@ start_time = time.time()
# subprocess.check_call([os.path.join(common.root_dir, ''bench-all', '-A', '-u'])
# A clean release requires a full rebuild unless we hack it :-(
# We can't just use our curent build as it contains packages we've
# We can't just use our current build as it contains packages we've
# installed in random experiments. And with EXT2: we can't easily
# know what the smallest root filesystem size is and use it either...
# https://stackoverflow.com/questions/47320800/how-to-clean-only-target-in-buildroot
subprocess.check_call([os.path.join(common.root_dir, 'configure'), '--all'])
subprocess.check_call([os.path.join(common.root_dir, 'build'), 'all-linux'])
subprocess.check_call([os.path.join(common.root_dir, 'build'), '--all-archs', 'release'])
release_zip.main()
subprocess.check_call(['git', 'push'])
release_upload.main()