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 { pipeline {
agent { agent any
docker {
image 'tqcq/cross'
}
}
options { options {
skipDefaultCheckout(true) skipDefaultCheckout(true)
} }
@ -18,11 +13,22 @@ pipeline {
} }
stage('Configure') { stage('Configure') {
agent {
docker {
image 'tqcq/cross'
}
}
steps { steps {
sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON' sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON'
} }
} }
stage('Build'){ stage('Build'){
agent {
docker {
image 'tqcq/cross'
}
}
steps { steps {
sh 'cmake --build --target all -- -j`nproc --ignore=4`' sh 'cmake --build --target all -- -j`nproc --ignore=4`'
} }