spacepackets/automation/Jenkinsfile
Robin Mueller 8f20b1962c
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
try cross-compilation in docker
2022-08-16 10:28:06 +02:00

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'
}
}
}
}