Robin Mueller
952ec3738b
All checks were successful
Rust/va108xx-rs/pipeline/head This commit looks good
- Added automation files for CI/CD - Relicense as Apache 2.0
39 lines
813 B
Groovy
39 lines
813 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
} |