mirror of
https://github.com/async-rs/async-std.git
synced 2025-03-31 13:36:41 +00:00
ci: fix no_std ci
This commit is contained in:
parent
7efe7caf66
commit
ef985bc72e
1 changed files with 16 additions and 6 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -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…
Reference in a new issue