Skip to content

Remove asm toolchain #1113

Remove asm toolchain

Remove asm toolchain #1113

Workflow file for this run

on:
pull_request:
merge_group:
workflow_dispatch:
name: Clippy check
jobs:
clippy:
runs-on: ubuntu-latest
strategy:
matrix:
# All generated code should be running on stable now
rust: [stable]
target: [
"thumbv8m.main-none-eabihf",
# "thumbv8m.main-none-eabi",
# "thumbv8m.base-none-eabi",
# "thumbv7em-none-eabihf",
"thumbv7em-none-eabi",
# "thumbv7m-none-eabi",
# "thumbv6m-none-eabi",
]
# include:
# # Test MSRV
# - rust: 1.85.0
# # Test nightly but don't fail
# - rust: nightly
# experimental: true
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
components: clippy
- name: Run clippy
run: cargo clippy -p cortex-m -p cortex-m-rt --features cortex-m/critical-section-single-core --target ${{matrix.target}} -- --deny warnings
# run: cargo clippy --all --features cortex-m/critical-section-single-core -- --deny warnings
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@1.85
# with:
# components: clippy
# - run: cargo clippy --all --features cortex-m/critical-section-single-core -- --deny warnings