EGit integration
All checks were successful
Rust/va108xx-hal/pipeline/pr-main This commit looks good

- Changed license to Apache-2.0 only
- Added NOTICE file
- Added Jenkins CI/CD files
This commit is contained in:
2021-12-06 13:01:50 +01:00
committed by Robin Mueller
parent f2ca18469b
commit 698af5fa9f
5 changed files with 68 additions and 29 deletions

50
automation/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,50 @@
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'
}
}
stage('Check Examples') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo check --target thumbv6m-none-eabi --examples'
}
}
}
}