fix build

This commit is contained in:
tqcq 2024-07-19 01:27:01 +08:00 committed by tqcq
parent 89d0b51491
commit 346dfd731d

20
Jenkinsfile vendored
View File

@ -1,5 +1,10 @@
pipeline {
agent any
agent {
docker {
image 'tqcq/cross'
}
}
options {
skipDefaultCheckout(true)
}
@ -13,24 +18,13 @@ pipeline {
}
stage('Configure') {
agent {
docker {
image 'tqcq/cross'
}
}
steps {
sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON'
}
}
stage('Build'){
agent {
docker {
image 'tqcq/cross'
}
}
steps {
sh 'cmake --build --target all -- -j`nproc --ignore=4`'
sh 'cmake --build build --target all -- -j`nproc --ignore=4`'
}
}
stage('Deploy') {