reenabled clippy in CI/CD
All checks were successful
Rust/va416xx/pipeline/head This commit looks good
All checks were successful
Rust/va416xx/pipeline/head This commit looks good
- Bumped version to v0.1.1
This commit is contained in:
parent
45b1680254
commit
2cdc2a8128
36
.github/workflows/ci.yml
vendored
36
.github/workflows/ci.yml
vendored
@ -36,28 +36,28 @@ jobs:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
|
||||
# clippy:
|
||||
# name: Clippy
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# profile: minimal
|
||||
# toolchain: stable
|
||||
# target: thumbv7em-none-eabihf
|
||||
# override: true
|
||||
# - run: rustup component add clippy
|
||||
# - uses: actions-rs/cargo@v1
|
||||
# with:
|
||||
# use-cross: true
|
||||
# command: clippy
|
||||
# args: --target thumbv7em-none-eabihf -- -D warnings
|
||||
clippy:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
target: thumbv7em-none-eabihf
|
||||
override: true
|
||||
- run: rustup component add clippy
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
use-cross: true
|
||||
command: clippy
|
||||
args: --target thumbv7em-none-eabihf -- -D warnings
|
||||
|
||||
ci:
|
||||
if: ${{ success() }}
|
||||
# all new jobs must be added to this list
|
||||
needs: [check, fmt] # , clippy
|
||||
needs: [check, fmt, clippy]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: CI succeeded
|
||||
|
@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [unreleased]
|
||||
|
||||
## [v0.1.1]
|
||||
|
||||
- Clippy issue fixed by regenerating PAC with patched `svd2rust`:
|
||||
https://github.com/rust-embedded/svd2rust/pull/558
|
||||
|
||||
## [v0.1.0]
|
||||
|
||||
- Clippy currently complains about unsound code which should still work.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "va416xx"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
||||
edition = "2021"
|
||||
description = "PAC for the Vorago VA416xx family of MCUs"
|
||||
|
22
automation/Jenkinsfile
vendored
22
automation/Jenkinsfile
vendored
@ -2,17 +2,17 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
// stage('Clippy') {
|
||||
// agent {
|
||||
// dockerfile {
|
||||
// dir 'automation'
|
||||
// reuseNode true
|
||||
// }
|
||||
// }
|
||||
// steps {
|
||||
// sh 'cargo clippy'
|
||||
// }
|
||||
// }
|
||||
stage('Clippy') {
|
||||
agent {
|
||||
dockerfile {
|
||||
dir 'automation'
|
||||
reuseNode true
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'cargo clippy'
|
||||
}
|
||||
}
|
||||
stage('Rustfmt') {
|
||||
agent {
|
||||
dockerfile {
|
||||
|
Reference in New Issue
Block a user