first commit
This commit is contained in:
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user