lighthouse/Jenkinsfile

33 lines
758 B
Plaintext
Raw Normal View History

pipeline {
agent {
dockerfile {
filename 'Dockerfile'
2019-03-25 05:13:46 +00:00
args '-v cargo-cache:/cargocache:rw -e "CARGO_HOME=/cargocache"'
}
}
stages {
stage('Build') {
steps {
sh 'cargo build --verbose --all'
sh 'cargo build --verbose --all --release'
}
}
stage('Check') {
steps {
sh 'cargo fmt --all -- --check'
// No clippy until later...
//sh 'cargo clippy'
}
}
stage('Test') {
steps {
sh 'cargo test --verbose --all'
sh 'cargo test --verbose --all --release'
2019-04-14 23:38:04 +00:00
sh 'cargo test --manifest-path eth2/state_processing/Cargo.toml --verbose \
--release --features fake_crypto --ignored'
}
}
}
}