Remove precheckin steps from staticanalysis (#101)
[ROCm/rccl-tests commit: df26b32687]
This commit is contained in:
@@ -14,7 +14,6 @@ def runCI =
|
|||||||
nodeDetails, jobName->
|
nodeDetails, jobName->
|
||||||
|
|
||||||
def prj = new rocProject('rccl-tests', 'StaticAnalysis')
|
def prj = new rocProject('rccl-tests', 'StaticAnalysis')
|
||||||
prj.paths.build_command = './install.sh'
|
|
||||||
|
|
||||||
// Define test architectures, optional rocm version argument is available
|
// Define test architectures, optional rocm version argument is available
|
||||||
def nodes = new dockerNodes(nodeDetails, jobName, prj)
|
def nodes = new dockerNodes(nodeDetails, jobName, prj)
|
||||||
@@ -22,31 +21,20 @@ def runCI =
|
|||||||
boolean formatCheck = false
|
boolean formatCheck = false
|
||||||
boolean staticAnalysis = true
|
boolean staticAnalysis = true
|
||||||
|
|
||||||
def commonGroovy
|
buildProject(prj, formatCheck, nodes.dockerArray, null, null, null, staticAnalysis)
|
||||||
|
|
||||||
def compileCommand =
|
|
||||||
{
|
|
||||||
platform, project->
|
|
||||||
|
|
||||||
commonGroovy = load "${project.paths.project_src_prefix}/.jenkins/common.groovy"
|
|
||||||
commonGroovy.runCompileCommand(platform, project, jobName)
|
|
||||||
}
|
|
||||||
|
|
||||||
buildProject(prj, formatCheck, nodes.dockerArray, compileCommand, null, null)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ci: {
|
ci: {
|
||||||
String urlJobName = auxiliary.getTopJobName(env.BUILD_URL)
|
String urlJobName = auxiliary.getTopJobName(env.BUILD_URL)
|
||||||
|
|
||||||
def propertyList = ["compute-rocm-dkms-no-npi":[pipelineTriggers([cron('0 1 * * 0')])],
|
def propertyList = [
|
||||||
"compute-rocm-dkms-no-npi-hipclang":[pipelineTriggers([cron('0 1 * * 0')])],
|
"compute-rocm-dkms-no-npi-hipclang":[pipelineTriggers([cron('0 1 * * 0')])]
|
||||||
"rocm-docker":[]]
|
]
|
||||||
propertyList = auxiliary.appendPropertyList(propertyList)
|
propertyList = auxiliary.appendPropertyList(propertyList)
|
||||||
|
|
||||||
def jobNameList = ["compute-rocm-dkms-no-npi":([ubuntu22:['cpu']]),
|
def jobNameList = [
|
||||||
"rocm-docker":([ubuntu22:['cpu']])]
|
"compute-rocm-dkms-no-npi-hipclang":([ubuntu22:['cpu']])
|
||||||
|
]
|
||||||
jobNameList['compute-rocm-dkms-no-npi-hipclang'] = [ubuntu22:['cpu']]
|
|
||||||
jobNameList = auxiliary.appendJobNameList(jobNameList)
|
jobNameList = auxiliary.appendJobNameList(jobNameList)
|
||||||
|
|
||||||
propertyList.each
|
propertyList.each
|
||||||
@@ -68,7 +56,7 @@ ci: {
|
|||||||
// For url job names that are not listed by the jobNameList i.e. compute-rocm-dkms-no-npi-1901
|
// For url job names that are not listed by the jobNameList i.e. compute-rocm-dkms-no-npi-1901
|
||||||
if(!jobNameList.keySet().contains(urlJobName))
|
if(!jobNameList.keySet().contains(urlJobName))
|
||||||
{
|
{
|
||||||
properties(auxiliary.addCommonProperties([pipelineTriggers([cron('0 1 * * *')])]))
|
properties(auxiliary.addCommonProperties([pipelineTriggers([cron('0 1 * * 0')])]))
|
||||||
stage(urlJobName) {
|
stage(urlJobName) {
|
||||||
runCI([ubuntu22:['cpu']], urlJobName)
|
runCI([ubuntu22:['cpu']], urlJobName)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user