A 3D gravitational simulator, written in rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

27 lines
460 B

pipeline {
agent {
docker {
image 'rust:latest'
}
}
stages {
stage('Clippy') {
steps {
sh "rustup component add clippy"
sh "cargo clippy --all-targets --all-features -- -D warnings"
}
}
stage('rustfmt') {
steps {
sh "rustup component add rustfmt"
sh "cargo fmt -- --check"
}
}
stage('Test') {
steps {
sh "cargo test"
}
}
}
}