appveyor: adding make calls for 'build' and 'test' actions

This commit is contained in:
Ralph Lange
2020-03-23 17:54:38 +01:00
parent 11cb469fb9
commit ff14d5ceb4

View File

@@ -48,6 +48,8 @@ def modlist():
return ret
zip7 = 'C:\\Program Files\\7-Zip\\7z'
make = ''
makeargs = []
def host_info():
print(sys.version)
@@ -393,13 +395,15 @@ def prepare(*args):
for mod in modlist():
place = places[setup[mod+"_VARNAME"]]
print('Building '+place)
sp.check_call([make] + makeargs, shell=True, cwd=place)
sp.check_call([make] + makeargs, cwd=place)
def build(*args):
print('{0}Building the module{1}'.format(ANSI_YELLOW, ANSI_RESET))
sp.check_call([make] + makeargs)
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):
'exec user command with vcvars'