Robin Mueller cc0680ea63
update jenkinsfile
there are now examples
2021-12-14 14:12:10 +01:00

40 lines
913 B
Groovy

pipeline {
agent any
stages {
stage('Clippy') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo clippy'
}
}
stage('Rustfmt') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo fmt'
}
}
stage('Check') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo check --target thumbv6m-none-eabi'
sh 'cargo check --target armv7-unknown-linux-gnueabihf'
}
}
}
}