mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-30 19:11:24 +02:00
Add postbuild script for CI server
This commit is contained in:
parent
b878e40606
commit
cdf71f40d5
1 changed files with 20 additions and 0 deletions
20
tools/ci-scripts/postbuild.py
Normal file
20
tools/ci-scripts/postbuild.py
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Post build script
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
SOURCE_PATH = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '..', '..'))
|
||||||
|
BUILD_PATH = os.path.join(SOURCE_PATH, 'build')
|
||||||
|
|
||||||
|
# FIXME move the helper python modules somewher other than the root of the repo
|
||||||
|
sys.path.append(SOURCE_PATH)
|
||||||
|
|
||||||
|
import hifi_utils
|
||||||
|
|
||||||
|
#for var in sys.argv:
|
||||||
|
# print("{}".format(var))
|
||||||
|
|
||||||
|
#for var in os.environ:
|
||||||
|
# print("{} = {}".format(var, os.environ[var]))
|
||||||
|
|
||||||
|
print("Create ZIP version of installer archive")
|
||||||
|
hifi_utils.executeSubprocess(['cpack', '-G', 'ZIP'], folder=BUILD_PATH)
|
Loading…
Reference in a new issue