Set of fixes
Some checks are pending
Rust/va108xx-rs/pipeline/head Build queued...

This commit is contained in:
2024-06-16 16:32:52 +02:00
committed by Robin Mueller
parent 42c7f0d3a2
commit 40ac37c239
12 changed files with 53 additions and 26 deletions

View File

@ -13,29 +13,31 @@ pipeline {
}
}
stage('Clippy') {
steps {
sh 'cargo clippy'
}
steps {
sh 'cargo clippy --target thumbv6m-none-eabi'
}
}
stage('Rustfmt') {
steps {
sh 'cargo fmt'
}
steps {
sh 'cargo fmt'
}
}
stage('Docs') {
steps {
sh: cargo +nightly doc --all-features --config 'build.rustdocflags=["--cfg", "docs_rs"]'
}
steps {
sh """
cargo +nightly doc --all-features --config 'build.rustdocflags=["--cfg", "docs_rs"]'
"""
}
}
stage('Check') {
steps {
sh 'cargo check --target thumbv6m-none-eabi'
}
steps {
sh 'cargo check --target thumbv6m-none-eabi'
}
}
stage('Check Examples') {
steps {
sh 'cargo check --target thumbv6m-none-eabi --examples'
}
steps {
sh 'cargo check --target thumbv6m-none-eabi --examples'
}
}
}
}