ci: fix no-std check

This commit is contained in:
k-nasa 2020-02-01 16:43:12 +09:00
parent 0d90cb07b9
commit 3e24e0ba4e

View file

@ -80,13 +80,15 @@ jobs:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: setup - name: setup
run: rustup target add thumbv7m-none-eabi run: |
rustup default nightly
rustup target add thumbv7m-none-eabi
- name: check no_std - name: check no_std
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: check command: check
args: --no-default-features --features alloc --target thumbv7m-none-eabi -v args: --no-default-features --features alloc --target thumbv7m-none-eabi -Z avoid-dev-deps
check_fmt_and_docs: check_fmt_and_docs:
name: Checking fmt and docs name: Checking fmt and docs