Robin Mueller
14835c38d9
Some checks failed
Rust/max116xx-10bit/pipeline/head There was a failure building this commit
52 lines
1.3 KiB
Groovy
52 lines
1.3 KiB
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'
|
|
}
|
|
}
|
|
stage('Check Examples') {
|
|
agent {
|
|
dockerfile {
|
|
dir 'automation'
|
|
reuseNode true
|
|
}
|
|
}
|
|
steps {
|
|
sh 'cargo check --target thumbv6m-none-eabi --examples'
|
|
sh 'cargo check --target armv7-unknown-linux-gnueabihf'
|
|
}
|
|
}
|
|
}
|
|
} |