Files
Rack/Jenkinsfile
Cameron Cordes d73663d389
Some checks are pending
Core Repos/Rack/pipeline/head This commit looks good
Core Repos/Rack/pipeline/pr-master Build started...
Try slim image for building rayon
2021-02-15 20:18:59 -05:00

34 lines
526 B
Groovy

pipeline {
agent {
docker { image 'rust:1.50.0-slim' }
}
stages {
stage('setup') {
steps {
sh 'rustup component add clippy'
}
}
stage('build') {
steps {
sh 'cargo build --release'
}
}
stage('lint') {
steps {
sh 'cargo clippy -- -D warnings'
}
}
stage('test') {
steps {
sh 'cargo test'
}
}
}
post {
always {
archiveArtifacts artifacts: 'target/release/rack', fingerprint: true
}
}
}