feat add test, benchmark

This commit is contained in:
tqcq 2024-07-19 10:36:47 +08:00 committed by tqcq
parent 346dfd731d
commit c365a76482

11
Jenkinsfile vendored
View File

@ -10,7 +10,7 @@ pipeline {
}
stages {
stage("Checkout") {
stage('Checkout') {
steps {
cleanWs()
checkout scm
@ -27,9 +27,14 @@ pipeline {
sh 'cmake --build build --target all -- -j`nproc --ignore=4`'
}
}
stage('Deploy') {
stage('Test') {
steps {
sh 'echo publish'
sh 'cd build && ctest -j `nproc --ignore=4`'
}
}
stage('Benchmark') {
steps {
sh 'cd build && ./bin/tile_bm_all'
}
}
}