EGit integration
All checks were successful
Rust/va108xx-rs/pipeline/head This commit looks good

- Added automation files for CI/CD
- Relicense as Apache 2.0
This commit is contained in:
2021-11-23 10:31:01 +01:00
parent e59ba9e860
commit 952ec3738b
4 changed files with 52 additions and 27 deletions

39
automation/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,39 @@
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('Build') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo build'
}
}
}
}