You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
651 B

pipeline {
agent any
stages {
stage('Cloning git sumbodules') {
steps {
sh 'git submodule update --init --recursive'
}
}
stage('Compile') {
steps {
sh 'cmake .'
sh 'make -j 4'
}
}
stage('Running catch2 tests') {
steps {
sh './performance_measuring_test > tests.txt'
sh 'convert -background black -fill white -pointsize 16 -font Courier label:@tests.txt tests.png'
archiveArtifacts artifacts: 'tests.png', fingerprint: true
}
}
stage('Generatin flamegraph') {
steps {
sh './generate_flame_graph.sh'
archiveArtifacts artifacts: 'flamegraph.svg', fingerprint: true
}
}
}
}