Added options to toggle the different targets.
This commit is contained in:
parent
5c6a3b52ad
commit
e502932158
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
@ -8,6 +8,9 @@ pipeline {
|
||||
|
||||
parameters {
|
||||
booleanParam(name: 'CLEAN', defaultValue: false, description: 'Clean build')
|
||||
booleanParam(name: 'BUILD_EDITOR', defaultValue: true, description: 'Build the editor binary')
|
||||
booleanParam(name: 'BUILD_DEBUG_TEMPLATES', defaultValue: true, description: 'Build templates in debug mode.')
|
||||
booleanParam(name: 'BUILD_RELEASE_TEMPLATES', defaultValue: true, description: 'Build templates in release mode.')
|
||||
string(name: 'REMOTE', defaultValue: 'https://github.com/godotengine/godot.git', description: 'Repository to build from')
|
||||
string(name: 'BRANCH', defaultValue: '*/master')
|
||||
}
|
||||
@ -30,10 +33,27 @@ pipeline {
|
||||
sh 'scons platform=linuxbsd -c'
|
||||
}
|
||||
}
|
||||
stage('Build Linux GCC') {
|
||||
stage('Build Linux Editor') {
|
||||
when {
|
||||
expression { params.BUILD_EDITOR }
|
||||
}
|
||||
steps {
|
||||
sh 'scons -j8 platform=linuxbsd debug_symbols=yes use_lto=yes'
|
||||
}
|
||||
}
|
||||
stage('Build Linux Debug Templates') {
|
||||
when {
|
||||
expression { params.BUILD_DEBUG_TEMPLATES }
|
||||
}
|
||||
steps {
|
||||
sh 'scons -j8 platform=linuxbsd target=template_release use_lto=yes'
|
||||
}
|
||||
}
|
||||
stage('Build Linux Release Templates') {
|
||||
when {
|
||||
expression { params.BUILD_EDITOR }
|
||||
}
|
||||
steps {
|
||||
sh 'scons -j8 platform=linuxbsd target=template_debug use_lto=yes'
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user