forked from Sparkier/inviwo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
31 lines (29 loc) · 978 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
node {
stage('Fetch') {
dir('inviwo') {
scmVars = checkout scm
sh 'git submodule sync --recursive' // needed when a submodule has a new url
sh 'git submodule update --init --recursive'
}
}
def util = load "${env.WORKSPACE}/inviwo/tools/jenkins/util.groovy"
util.config(this)
util.wrap(this, "#jenkins-branch-pr") {
util.touchwarn()
util.format(this, "${env.WORKSPACE}/inviwo")
util.buildStandard(
state: this,
modulePaths: [],
onModules: ["DiscreteData", "HDF5", "OpenCL", "BaseCL",
"WebBrowser", "Example"],
offModules: ["ABufferGL"],
opts: [:]
)
util.warn(this)
util.unittest(this)
util.integrationtest(this)
util.regression(this, ["${env.WORKSPACE}/inviwo/modules"])
util.copyright(this)
util.doxygen(this)
}
}