feat update agent

This commit is contained in:
tqcq 2024-07-19 01:22:11 +08:00 committed by tqcq
parent 3ba4db0f83
commit 89d0b51491

18
Jenkinsfile vendored
View File

@ -1,10 +1,5 @@
pipeline {
agent {
docker {
image 'tqcq/cross'
}
}
agent any
options {
skipDefaultCheckout(true)
}
@ -18,11 +13,22 @@ 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`'
}