Skip to content

Commit ef985bc

Browse files
committed
ci: fix no_std ci
1 parent 7efe7ca commit ef985bc

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ jobs:
5454
command: check
5555
args: --no-default-features --features std
5656

57-
- name: check no_std
58-
uses: actions-rs/cargo@v1
59-
with:
60-
command: check
61-
args: --no-default-features --features alloc
62-
6357
- name: check attributes
6458
uses: actions-rs/cargo@v1
6559
with:
@@ -78,6 +72,22 @@ jobs:
7872
command: test
7973
args: --doc --features "unstable attributes"
8074

75+
build__with_no_std:
76+
name: Build with no-std
77+
runs-on: ubuntu-latest
78+
79+
steps:
80+
- uses: actions/checkout@master
81+
82+
- name: setup
83+
run: rustup target add thumbv7m-none-eabi
84+
85+
- name: check no_std
86+
uses: actions-rs/cargo@v1
87+
with:
88+
command: check
89+
args: --no-default-features --features alloc --target thumbv7m-none-eabi -v
90+
8191
check_fmt_and_docs:
8292
name: Checking fmt and docs
8393
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)