[nostalgia] Break out Jenkinsfile steps
This commit is contained in:
parent
e2952ec8c1
commit
dfb17c851b
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
@ -5,16 +5,38 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh 'conan profile update settings.compiler.libcxx=libstdc++11 default'
|
sh 'conan profile update settings.compiler.libcxx=libstdc++11 default'
|
||||||
sh 'conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan'
|
sh 'conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan'
|
||||||
|
sh 'make conan'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build Asan') {
|
||||||
steps {
|
steps {
|
||||||
sh 'make conan'
|
sh 'make purge configure-debug'
|
||||||
sh 'make configure-debug configure-release'
|
|
||||||
sh 'make'
|
sh 'make'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test Asan') {
|
||||||
|
steps {
|
||||||
|
sh 'make test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build Debug') {
|
||||||
|
steps {
|
||||||
|
sh 'make purge configure-debug'
|
||||||
|
sh 'make'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Test Debug') {
|
||||||
|
steps {
|
||||||
|
sh 'make test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build Release') {
|
||||||
|
steps {
|
||||||
|
sh 'make purge configure-release'
|
||||||
|
sh 'make'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Test Release') {
|
||||||
steps {
|
steps {
|
||||||
sh 'make test'
|
sh 'make test'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user