From f44ab2fceb568a1d3a6f2bef62f4705f12b77e52 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 14 Nov 2019 13:14:36 +0000 Subject: [PATCH] Check no-std compatibility --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91b6f6de3..99a1b3a23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,27 @@ jobs: command: test args: --verbose --release + no-std: + name: Check no-std compatibility + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.36.0 + override: true + - run: rustup target add thumbv6m-none-eabi + - name: cargo fetch + uses: actions-rs/cargo@v1 + with: + command: fetch + - name: Build + uses: actions-rs/cargo@v1 + with: + command: build + args: --verbose --target thumbv6m-none-eabi --no-default-features --features groups + doc-links: name: Nightly lint runs-on: ubuntu-latest