Also create the archive in PR.
This way we are testing that archives are well done in the PR, not after the merge.
This commit is contained in:
parent
4230ece400
commit
f3ba9346ac
|
@ -332,6 +332,18 @@ if environ['TRAVIS_EVENT_TYPE'] != 'cron' and not make_release:
|
||||||
run_kiwix_build(target,
|
run_kiwix_build(target,
|
||||||
platform=PLATFORM)
|
platform=PLATFORM)
|
||||||
|
|
||||||
|
if PLATFORM == 'native_mixed':
|
||||||
|
make_archive('libzim', 'linux-x86_64')
|
||||||
|
elif PLATFORM == 'native_static':
|
||||||
|
for target in ('kiwix-tools', 'zim-tools', 'zimwriterfs'):
|
||||||
|
make_archive(target, 'linux-x86_64')
|
||||||
|
elif PLATFORM == 'win32_static':
|
||||||
|
make_archive('kiwix-tools', 'win-i686')
|
||||||
|
elif PLATFORM == 'armhf_static':
|
||||||
|
make_archive('kiwix-tools', 'linux-armhf')
|
||||||
|
elif PLATFORM == 'i586_static':
|
||||||
|
make_archive('kiwix-tools', 'linux-i586')
|
||||||
|
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue