Skip to content

Commit 37cbf6d

Browse files
committed
Add missing features to CI.
1 parent 718b5b7 commit 37cbf6d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,13 @@ jobs:
164164
- name: cargo check
165165
run: |
166166
cargo check --target=${{ matrix.target }}
167+
cargo check --target=${{ matrix.target }} --features="alloc"
168+
cargo check --target=${{ matrix.target }} --features="bytes"
169+
cargo check --target=${{ matrix.target }} --features="defmt"
170+
cargo check --target=${{ matrix.target }} --features="mpmc_large"
167171
cargo check --target=${{ matrix.target }} --features="portable-atomic-critical-section"
168-
cargo check --target=${{ matrix.target }} --features="ufmt serde defmt mpmc_large alloc"
172+
cargo check --target=${{ matrix.target }} --features="serde"
173+
cargo check --target=${{ matrix.target }} --features="ufmt"
169174
170175
doc:
171176
name: doc
@@ -208,7 +213,7 @@ jobs:
208213

209214
- name: cargo rustdoc
210215
env: {"RUSTDOCFLAGS": "-D warnings --cfg docsrs"}
211-
run: cargo rustdoc --target=${{ matrix.target }} --features="ufmt serde defmt mpmc_large portable-atomic-critical-section alloc"
216+
run: cargo rustdoc --target=${{ matrix.target }} --features="alloc bytes defmt mpmc_large portable-atomic-critical-section serde ufmt"
212217

213218
# Run cpass tests
214219
testcpass:
@@ -255,7 +260,7 @@ jobs:
255260
targets: ${{ matrix.target }}
256261

257262
- name: cargo test
258-
run: cargo test --test cpass --target=${{ matrix.target }} --features=serde ${{ matrix.buildtype }}
263+
run: cargo test --test cpass --target=${{ matrix.target }} ${{ matrix.buildtype }}
259264

260265
# Run test suite for UI
261266
testtsan:

0 commit comments

Comments
 (0)