Some checks failed
shared-hal-ci / Check build (push) Has been cancelled
shared-hal-ci / Check formatting (push) Has been cancelled
shared-hal-ci / Check Documentation Build (push) Has been cancelled
shared-hal-ci / Clippy (push) Has been cancelled
va108xx-ci / Check build (push) Has been cancelled
va108xx-ci / Run Tests (push) Has been cancelled
va108xx-ci / Check formatting (push) Has been cancelled
va108xx-ci / Check Documentation Build (push) Has been cancelled
va108xx-ci / Clippy (push) Has been cancelled
va416xx-ci / Check build (push) Has been cancelled
va416xx-ci / Run Tests (push) Has been cancelled
va416xx-ci / Check formatting (push) Has been cancelled
va416xx-ci / Check Documentation Build (push) Has been cancelled
va416xx-ci / Clippy (push) Has been cancelled
46 lines
1.2 KiB
Groovy
46 lines
1.2 KiB
Groovy
pipeline {
|
|
agent {
|
|
dockerfile {
|
|
dir 'automation'
|
|
reuseNode true
|
|
}
|
|
}
|
|
|
|
stages {
|
|
stage('Rust Toolchain Info') {
|
|
steps {
|
|
sh 'rustc --version'
|
|
}
|
|
}
|
|
stage('Clippy') {
|
|
steps {
|
|
sh 'cargo clippy --target thumbv6m-none-eabi'
|
|
}
|
|
}
|
|
stage('Rustfmt') {
|
|
steps {
|
|
sh 'cargo fmt'
|
|
}
|
|
}
|
|
stage('Docs') {
|
|
steps {
|
|
sh """
|
|
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p va108xx
|
|
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p va108xx-hal
|
|
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p vorago-reb1
|
|
"""
|
|
}
|
|
}
|
|
stage('Check') {
|
|
steps {
|
|
sh 'cargo check --target thumbv6m-none-eabi'
|
|
}
|
|
}
|
|
stage('Check Examples') {
|
|
steps {
|
|
sh 'cargo check --target thumbv6m-none-eabi --examples'
|
|
}
|
|
}
|
|
}
|
|
}
|