add jenkins pipeline

This commit is contained in:
2026-04-07 08:22:32 +01:00
parent 214a189a5f
commit 56c59634b2
12 changed files with 408 additions and 326 deletions
+30
View File
@@ -0,0 +1,30 @@
pipeline {
agent {
docker {
image 'rust:stable'
}
}
stages {
stage('Setup') {
steps {
giteaStatus status: 'PENDING', context: 'ci/jenkins'
sh 'rustup component add clippy rustfmt'
}
}
stage('CI') {
steps {
sh 'make ci'
}
}
}
post {
success {
giteaStatus status: 'SUCCESS', context: 'ci/jenkins'
}
failure {
giteaStatus status: 'FAILURE', context: 'ci/jenkins'
}
}
}