fix error
Some checks failed
test/pipeline/head There was a failure building this commit

This commit is contained in:
tqcq 2024-08-05 16:11:42 +08:00 committed by tqcq
parent 06d1042adb
commit a5078ca519

42
Jenkinsfile vendored
View File

@ -10,12 +10,12 @@ pipeline {
} }
stages { stages {
stage('Checkout') { stage('Checkout') {
steps { steps {
cleanWs() cleanWs()
checkout scm checkout scm
}
} }
}
stage('BuildAndTest') { stage('BuildAndTest') {
matrix { matrix {
@ -35,27 +35,27 @@ pipeline {
values 'aarch64-linux-gnu', 'arm-linux-gnueabihf', 'arm-linux-gnueabi', 'host.gcc-m32', 'mips64el-linux-gnuabi64', 'mips-linux-gnu', 'riscv64-linux-gnu' values 'aarch64-linux-gnu', 'arm-linux-gnueabihf', 'arm-linux-gnueabi', 'host.gcc-m32', 'mips64el-linux-gnuabi64', 'mips-linux-gnu', 'riscv64-linux-gnu'
} }
} }
}
stages { stages {
stage('Configure') { stage('Configure') {
steps { steps {
sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON' sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON'
}
} }
} stage('Build') {
stage('Build') { steps {
steps { sh 'cmake --build build --target all -- -j`nproc --ignore=4`'
sh 'cmake --build build --target all -- -j`nproc --ignore=4`' }
} }
} stage('Test') {
stage('Test') { steps {
steps { sh 'cd build && ctest --output-on-failure -j `nproc --ignore=4`'
sh 'cd build && ctest --output-on-failure -j `nproc --ignore=4`' }
} }
} stage('Benchmark') {
stage('Benchmark') { steps {
steps { sh 'cd build && ./bin/tile_bm_all'
sh 'cd build && ./bin/tile_bm_all' }
} }
} }
} }