test_app/Jenkinsfile
2025-03-03 21:03:31 +01:00

30 lines
704 B
Groovy

pipeline {
agent any
stages {
stage('Config') {
steps {
dir('build') {
sh '''
cmake --version
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
'''.stripIndent()
}
}
}
stage('Build') {
steps {
sh '''
cmake --build build --config Debug --target Test
'''.stripIndent()
}
}
stage('Run Test') {
steps {
sh '''
./build/Test
'''.stripIndent()
}
}
}
}