From 3cb2c6db9a4d702b7fccbc95407d2a2dcd6df518 Mon Sep 17 00:00:00 2001 From: TKFRvisionOfficial <52245132+TKFRvisionOfficial@users.noreply.github.com> Date: Thu, 11 Apr 2024 17:32:23 +0200 Subject: [PATCH] Added no-std test to ci --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 005986c..450a6b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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