nostalgia/jenkins/linux/Jenkinsfile

48 lines
774 B
Plaintext
Raw Normal View History

2018-04-12 23:02:36 -05:00
pipeline {
agent {
label 'linux-x86_64'
}
2018-04-12 23:02:36 -05:00
stages {
stage('Environment') {
steps {
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 'make conan'
}
}
stage('Build Asan') {
2018-04-12 23:02:36 -05:00
steps {
sh 'make purge configure-asan'
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'
}
}
stage('Test Release') {
2018-04-13 20:53:59 -05:00
steps {
sh 'make test'
}
}
2018-04-12 23:02:36 -05:00
}
}