mirror of
https://github.com/trussed-dev/littlefs2.git
synced 2026-06-20 04:16:32 -07:00
Introduce littlefs2-core crate
To make it easier to maintain applications using littlefs2, this patch introduces a littlefs2-core crate with the basic types and traits used by littlefs2, but without a specific implementation. Fixes: https://github.com/trussed-dev/littlefs2/issues/55
This commit is contained in:
+11
-11
@@ -30,29 +30,29 @@ jobs:
|
||||
|
||||
- name: Check
|
||||
run: |
|
||||
cargo check --all-targets
|
||||
cargo check --all-targets --all-features
|
||||
cargo check --all-targets --no-default-features
|
||||
cargo check --all-targets --no-default-features --features serde
|
||||
cargo check --all-targets --no-default-features --features dir-entry-path
|
||||
cargo check --workspace --all-targets
|
||||
cargo check --workspace --all-targets --all-features
|
||||
cargo check --workspace --all-targets --no-default-features
|
||||
cargo check --workspace --all-targets --no-default-features --features serde
|
||||
cargo check --workspace --all-targets --no-default-features --features dir-entry-path
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release --verbose
|
||||
run: cargo build --workspace --release --verbose
|
||||
|
||||
- name: Run clippy
|
||||
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
||||
run: cargo clippy --all-features --all-targets -- --deny warnings
|
||||
run: cargo clippy --workspace --all-features --all-targets -- --deny warnings
|
||||
|
||||
- name: Check code format
|
||||
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
||||
run: cargo fmt -- --check
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
- name: Run tests
|
||||
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
||||
run: >
|
||||
cargo test &&
|
||||
cargo test --release
|
||||
cargo test --workspace &&
|
||||
cargo test --workspace --release
|
||||
|
||||
- name: Check documentation
|
||||
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
||||
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps
|
||||
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --workspace
|
||||
|
||||
Reference in New Issue
Block a user