appveyor: adding make calls for 'build' and 'test' actions
This commit is contained in:
+6
-2
@@ -48,6 +48,8 @@ def modlist():
|
|||||||
return ret
|
return ret
|
||||||
|
|
||||||
zip7 = 'C:\\Program Files\\7-Zip\\7z'
|
zip7 = 'C:\\Program Files\\7-Zip\\7z'
|
||||||
|
make = ''
|
||||||
|
makeargs = []
|
||||||
|
|
||||||
def host_info():
|
def host_info():
|
||||||
print(sys.version)
|
print(sys.version)
|
||||||
@@ -393,13 +395,15 @@ def prepare(*args):
|
|||||||
for mod in modlist():
|
for mod in modlist():
|
||||||
place = places[setup[mod+"_VARNAME"]]
|
place = places[setup[mod+"_VARNAME"]]
|
||||||
print('Building '+place)
|
print('Building '+place)
|
||||||
sp.check_call([make] + makeargs, shell=True, cwd=place)
|
sp.check_call([make] + makeargs, cwd=place)
|
||||||
|
|
||||||
def build(*args):
|
def build(*args):
|
||||||
print('{0}Building the module{1}'.format(ANSI_YELLOW, ANSI_RESET))
|
print('{0}Building the module{1}'.format(ANSI_YELLOW, ANSI_RESET))
|
||||||
|
sp.check_call([make] + makeargs)
|
||||||
|
|
||||||
def test(*args):
|
def test(*args):
|
||||||
print('Running the tests')
|
print('{0}Running the tests{1}'.format(ANSI_YELLOW, ANSI_RESET))
|
||||||
|
sp.check_call([make] + makeargs + ['tapfiles'])
|
||||||
|
|
||||||
def doExec(*args):
|
def doExec(*args):
|
||||||
'exec user command with vcvars'
|
'exec user command with vcvars'
|
||||||
|
|||||||
Reference in New Issue
Block a user