| 1 |
branchName = 'main' |
| 2 |
|
| 3 |
library identifier: "zorg-shared-lib@${branchName}", |
| 4 |
retriever: modernSCM([ |
| 5 |
$class: 'GitSCMSource', |
| 6 |
remote: "https://github.com/llvm/llvm-zorg.git", |
| 7 |
credentialsId: scm.userRemoteConfigs[0].credentialsId |
| 8 |
]) |
| 9 |
|
| 10 |
clangPipeline( |
| 11 |
jobName: env.JOB_NAME, |
| 12 |
zorgBranch: branchName, |
| 13 |
buildConfig: [ |
| 14 |
stage: 1, |
| 15 |
build_type: 'cmake', |
| 16 |
cmake_type: 'RelWithDebInfo', |
| 17 |
assertions: true, |
| 18 |
projects: 'clang;clang-tools-extra', |
| 19 |
runtimes: 'compiler-rt', |
| 20 |
timeout: 120, |
| 21 |
incremental: false, |
| 22 |
skipTrigger: env.BRANCH_NAME?.startsWith('release/') ?: false |
| 23 |
], |
| 24 |
testConfig: [ |
| 25 |
test_type: 'testlong', |
| 26 |
timeout: 120, |
| 27 |
junit_patterns: [ |
| 28 |
"clang-build/**/testresults.xunit.xml" |
| 29 |
] |
| 30 |
], |
| 31 |
triggeredJobs: [ |
| 32 |
'llvm.org/clang-stage2-cmake-RgSan_relay', |
| 33 |
'llvm.org/clang-stage2-Rthinlto_relay', |
| 34 |
'llvm.org/relay-lnt-ctmark', |
| 35 |
'llvm.org/relay-test-suite-verify-machineinstrs' |
| 36 |
] |
| 37 |
) |