2018-04-12 23:02:36 -05:00
|
|
|
pipeline {
|
2019-10-22 23:56:05 -05:00
|
|
|
agent any
|
2018-04-12 23:02:36 -05:00
|
|
|
stages {
|
2020-04-09 23:38:32 -05:00
|
|
|
stage('Environment') {
|
|
|
|
steps {
|
|
|
|
sh 'conan profile update settings.compiler.libcxx=libstdc++11 default'
|
2020-05-04 18:20:50 -05:00
|
|
|
sh 'conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan'
|
2020-05-06 20:59:29 -05:00
|
|
|
sh 'make conan'
|
2020-04-09 23:38:32 -05:00
|
|
|
}
|
|
|
|
}
|
2020-05-06 20:59:29 -05:00
|
|
|
stage('Build Asan') {
|
2018-04-12 23:02:36 -05:00
|
|
|
steps {
|
2020-05-16 17:16:17 -05:00
|
|
|
sh 'make purge configure-asan'
|
2020-05-06 20:59:29 -05:00
|
|
|
sh 'make'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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'
|
2018-04-12 23:02:36 -05:00
|
|
|
sh 'make'
|
|
|
|
}
|
|
|
|
}
|
2020-05-06 20:59:29 -05:00
|
|
|
stage('Test Release') {
|
2018-04-13 20:53:59 -05:00
|
|
|
steps {
|
|
|
|
sh 'make test'
|
|
|
|
}
|
|
|
|
}
|
2018-04-12 23:02:36 -05:00
|
|
|
}
|
|
|
|
}
|