From 37498fb38deb5bbf2dd05d75bc05e30fa16f7a7e Mon Sep 17 00:00:00 2001 From: Devin Jean Date: Tue, 21 Nov 2023 11:02:13 -0600 Subject: [PATCH] add min-std test to ci --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 57e1849..479793c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -72,3 +72,21 @@ jobs: use-cross: true command: build args: --lib --no-default-features ${{ matrix.opt }} --target thumbv6m-none-eabi + + min-std: + name: min-std + runs-on: ubuntu-latest + strategy: + matrix: + opt: ["", "--release"] + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: build + args: --lib --no-default-features ${{ matrix.opt }} --features std