spacepackets/automation/Jenkinsfile

38 lines
708 B
Plaintext
Raw Normal View History

2022-08-05 00:44:41 +02:00
pipeline {
2022-08-16 10:23:39 +02:00
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
2022-08-05 00:44:41 +02:00
stages {
stage('Clippy') {
steps {
sh 'cargo clippy'
}
}
stage('Rustfmt') {
steps {
sh 'cargo fmt'
}
}
2022-08-16 10:20:00 +02:00
stage('Test') {
steps {
2022-08-16 10:23:39 +02:00
sh 'cargo test'
2022-08-16 10:20:00 +02:00
}
}
2022-08-05 00:44:41 +02:00
stage('Check') {
steps {
sh 'cargo check'
}
}
2022-08-16 10:28:06 +02:00
stage('Check Cross') {
steps {
sh 'cross check --target thumbv7em-none-eabihf --no-default-features'
}
}
2022-08-05 00:44:41 +02:00
}
}