Add missing features to CI.

This commit is contained in:
Markus Reiter 2025-04-29 09:12:45 +02:00
parent 718b5b7a8f
commit 37cbf6d6cf
No known key found for this signature in database

View File

@ -164,8 +164,13 @@ jobs:
- name: cargo check - name: cargo check
run: | run: |
cargo check --target=${{ matrix.target }} cargo check --target=${{ matrix.target }}
cargo check --target=${{ matrix.target }} --features="alloc"
cargo check --target=${{ matrix.target }} --features="bytes"
cargo check --target=${{ matrix.target }} --features="defmt"
cargo check --target=${{ matrix.target }} --features="mpmc_large"
cargo check --target=${{ matrix.target }} --features="portable-atomic-critical-section" cargo check --target=${{ matrix.target }} --features="portable-atomic-critical-section"
cargo check --target=${{ matrix.target }} --features="ufmt serde defmt mpmc_large alloc" cargo check --target=${{ matrix.target }} --features="serde"
cargo check --target=${{ matrix.target }} --features="ufmt"
doc: doc:
name: doc name: doc
@ -208,7 +213,7 @@ jobs:
- name: cargo rustdoc - name: cargo rustdoc
env: {"RUSTDOCFLAGS": "-D warnings --cfg docsrs"} env: {"RUSTDOCFLAGS": "-D warnings --cfg docsrs"}
run: cargo rustdoc --target=${{ matrix.target }} --features="ufmt serde defmt mpmc_large portable-atomic-critical-section alloc" run: cargo rustdoc --target=${{ matrix.target }} --features="alloc bytes defmt mpmc_large portable-atomic-critical-section serde ufmt"
# Run cpass tests # Run cpass tests
testcpass: testcpass:
@ -255,7 +260,7 @@ jobs:
targets: ${{ matrix.target }} targets: ${{ matrix.target }}
- name: cargo test - name: cargo test
run: cargo test --test cpass --target=${{ matrix.target }} --features=serde ${{ matrix.buildtype }} run: cargo test --test cpass --target=${{ matrix.target }} ${{ matrix.buildtype }}
# Run test suite for UI # Run test suite for UI
testtsan: testtsan: