Skip to content

Commit

Permalink
Added no-std test to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TKFRvisionOfficial authored and smessmer committed Apr 13, 2024
1 parent 991f5e1 commit 3cb2c6d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,34 @@ jobs:
with:
command: ${{ matrix.command }}
args: ${{ matrix.profile }} ${{ matrix.features }}
thumbv6m_no_std:
name: thumbv6m_no_std
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command: [ "build" ]
profile: [ "", "--release" ]
features: [ "--no-default-features" ]
# Nightly because -Z direct-minimal-versions is a nightly cargo feature
toolchain: [ "nightly" ]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
target: thumbv6m-none-eabi
default: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: "update"
args: "-Z direct-minimal-versions"
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: ${{ matrix.command }}
args: ${{ matrix.profile }} ${{ matrix.features }} --target thumbv6m-none-eabi
clippy_check:
name: Linter (clippy)
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3cb2c6d

Please sign in to comment.