Robin Mueller
8f20b1962c
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
38 lines
708 B
Groovy
38 lines
708 B
Groovy
pipeline {
|
|
|
|
agent {
|
|
dockerfile {
|
|
dir 'automation'
|
|
reuseNode true
|
|
}
|
|
}
|
|
|
|
stages {
|
|
stage('Clippy') {
|
|
steps {
|
|
sh 'cargo clippy'
|
|
}
|
|
}
|
|
stage('Rustfmt') {
|
|
steps {
|
|
sh 'cargo fmt'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh 'cargo test'
|
|
}
|
|
}
|
|
stage('Check') {
|
|
steps {
|
|
sh 'cargo check'
|
|
}
|
|
}
|
|
stage('Check Cross') {
|
|
steps {
|
|
sh 'cross check --target thumbv7em-none-eabihf --no-default-features'
|
|
}
|
|
}
|
|
}
|
|
}
|