diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3746f4f..63cf53c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index eeea15b..5a08cf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/Cargo.toml b/Cargo.toml index c87aa12..b510ff2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "va416xx" -version = "0.1.0" +version = "0.1.1" authors = ["Robin Mueller "] edition = "2021" description = "PAC for the Vorago VA416xx family of MCUs" diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 54de30e..925c94e 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -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 {