2018-04-12 23:02:36 -05:00
|
|
|
pipeline {
|
2020-05-16 22:53:16 -05:00
|
|
|
agent {
|
|
|
|
label 'linux-x86_64'
|
|
|
|
}
|
2018-04-12 23:02:36 -05:00
|
|
|
stages {
|
2020-04-09 23:38:32 -05:00
|
|
|
stage('Environment') {
|
|
|
|
steps {
|
2021-03-12 00:38:11 -06:00
|
|
|
load 'jenkins/shared/env.gy'
|
2020-08-05 20:24:20 -05:00
|
|
|
sh 'make vcpkg'
|
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
|
|
|
}
|
|
|
|
}
|