reenabled clippy in CI/CD
Rust/va416xx/pipeline/head This commit looks good Details

- Bumped version to v0.1.1
This commit is contained in:
Robin Müller 2021-12-10 18:03:26 +01:00
parent 45b1680254
commit 2cdc2a8128
4 changed files with 35 additions and 30 deletions

View File

@ -36,28 +36,28 @@ jobs:
command: fmt command: fmt
args: --all -- --check args: --all -- --check
# clippy: clippy:
# name: Clippy name: Clippy
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
# with: with:
# profile: minimal profile: minimal
# toolchain: stable toolchain: stable
# target: thumbv7em-none-eabihf target: thumbv7em-none-eabihf
# override: true override: true
# - run: rustup component add clippy - run: rustup component add clippy
# - uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
# with: with:
# use-cross: true use-cross: true
# command: clippy command: clippy
# args: --target thumbv7em-none-eabihf -- -D warnings args: --target thumbv7em-none-eabihf -- -D warnings
ci: ci:
if: ${{ success() }} if: ${{ success() }}
# all new jobs must be added to this list # all new jobs must be added to this list
needs: [check, fmt] # , clippy needs: [check, fmt, clippy]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: CI succeeded - name: CI succeeded

View File

@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [unreleased] ## [unreleased]
## [v0.1.1]
- Clippy issue fixed by regenerating PAC with patched `svd2rust`:
https://github.com/rust-embedded/svd2rust/pull/558
## [v0.1.0] ## [v0.1.0]
- Clippy currently complains about unsound code which should still work. - Clippy currently complains about unsound code which should still work.

View File

@ -1,6 +1,6 @@
[package] [package]
name = "va416xx" name = "va416xx"
version = "0.1.0" version = "0.1.1"
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"] authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
edition = "2021" edition = "2021"
description = "PAC for the Vorago VA416xx family of MCUs" description = "PAC for the Vorago VA416xx family of MCUs"

View File

@ -2,17 +2,17 @@ pipeline {
agent any agent any
stages { stages {
// stage('Clippy') { stage('Clippy') {
// agent { agent {
// dockerfile { dockerfile {
// dir 'automation' dir 'automation'
// reuseNode true reuseNode true
// } }
// } }
// steps { steps {
// sh 'cargo clippy' sh 'cargo clippy'
// } }
// } }
stage('Rustfmt') { stage('Rustfmt') {
agent { agent {
dockerfile { dockerfile {