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.

37 lines
764 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 -size 360x360 xc:white -font "FreeMon" -pointsize 12 -fill black -draw @tests.txt tests.png'
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
}
}
}
}