Check no-std compatibility

This commit is contained in:
Jack Grigg 2019-11-14 13:31:25 +00:00
parent ab8293935a
commit d8f35139c5
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 21 additions and 0 deletions

View File

@ -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.33.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
doc-links:
name: Nightly lint
runs-on: ubuntu-latest