4
0
mirror of https://github.com/QuasarApp/QuasarAppCI.git synced 2025-05-11 04:39:34 +00:00

fix make validators

This commit is contained in:
Andrei Yankovich 2020-06-19 14:59:01 +03:00
parent d01d5cdcbb
commit 417730532b
3 changed files with 5 additions and 3 deletions

@ -14,7 +14,8 @@ class CMake(Make):
return "C"
def isSupport(self, step):
return os.path.isfile('./CMakeLists.txt')
PWD = step.getProperty('builddir') + '/build'
return os.path.isfile(PWD + '/CMakeLists.txt')
def mainCmd(self):
command = [

@ -130,7 +130,7 @@ class Make(BaseModule):
command=self.getWraper(cmd),
haltOnFailure=True,
doStepIf=lambda step: dustepIf(step),
#hideStepIf=lambda results, step: not dustepIf(step),
hideStepIf=lambda results, step: not dustepIf(step),
name=desc + ' ' + platform,
env=envWraper,
want_stdout=True,

@ -14,7 +14,8 @@ class QMake(Make):
return "Q"
def isSupport(self, step):
return len(glob.glob1('.', '*.pro')) > 0
PWD = step.getProperty('builddir') + '/build'
return len(glob.glob1(PWD, '*.pro')) > 0
def mainCmd(self):
command = [