spacepackets/automation/Jenkinsfile
Robin Mueller dbe0e3062f
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
now this should work
2022-08-16 10:50:21 +02:00

43 lines
890 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 Embedded Bare Metal') {
steps {
sh 'cargo check --target thumbv7em-none-eabihf --no-default-features'
}
}
stage('Check Cross Embedded Linux') {
steps {
sh 'cargo check --target armv7-unknown-linux-gnueabihf'
}
}
}
}