Skip to content

Commit

Permalink
Define build command
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Jul 26, 2024
1 parent 082d533 commit 4b69118
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .jenkins/staticanalysis.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import java.nio.file.Path

def runCI =
{
nodeDetails, jobName, buildCommand, label ->
nodeDetails, jobName, buildCommand ->

def prj = new rocProject('hipFFT-internal', 'PreCheckin')
// customize for project
Expand All @@ -25,9 +25,10 @@ def runCI =

ci: {
String urlJobName = auxiliary.getTopJobName(env.BUILD_URL)
String hipClangBuildCommand = '-DCMAKE_CXX_COMPILER=/opt/rocm/bin/amdclang++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CLIENTS_TESTS=ON -DBUILD_CLIENTS_SAMPLES=ON -L ../..'

properties(auxiliary.addCommonProperties([pipelineTriggers([cron('0 1 * * 7')])]))
stage(urlJobName) {
runCI([ubuntu20:['any']], urlJobName)
runCI([ubuntu22:['any']], urlJobName, hipClangBuildCommand)
}
}

0 comments on commit 4b69118

Please sign in to comment.