ci: fix no_std ci

split-by-pattern
k-nasa 5 years ago
parent 7efe7caf66
commit ef985bc72e

@ -54,12 +54,6 @@ jobs:
command: check command: check
args: --no-default-features --features std args: --no-default-features --features std
- name: check no_std
uses: actions-rs/cargo@v1
with:
command: check
args: --no-default-features --features alloc
- name: check attributes - name: check attributes
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -78,6 +72,22 @@ jobs:
command: test command: test
args: --doc --features "unstable attributes" args: --doc --features "unstable attributes"
build__with_no_std:
name: Build with no-std
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: setup
run: rustup target add thumbv7m-none-eabi
- name: check no_std
uses: actions-rs/cargo@v1
with:
command: check
args: --no-default-features --features alloc --target thumbv7m-none-eabi -v
check_fmt_and_docs: check_fmt_and_docs:
name: Checking fmt and docs name: Checking fmt and docs
runs-on: ubuntu-latest runs-on: ubuntu-latest

Loading…
Cancel
Save