Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Move to core+alloc #189

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ jobs:
components: rustfmt, clippy
- run: rustc --version
- run: cargo clippy --all-features --all-targets -- -Dwarnings
- run: cargo clippy --all-targets --manifest-path proto/Cargo.toml --no-default-features -- -Dwarnings
- run: cargo clippy --all-targets --manifest-path proto/Cargo.toml --no-default-features --features json -- -Dwarnings
- run: cargo clippy --all-targets --manifest-path core/Cargo.toml --no-default-features -- -Dwarnings
- run: cargo clippy --all-targets --manifest-path core/Cargo.toml --no-default-features --features insecure -- -Dwarnings
- run: cargo clippy --all-targets --manifest-path core/Cargo.toml --no-default-features --features json -- -Dwarnings
- run: cargo clippy --all-targets --manifest-path core/Cargo.toml --no-default-features --features std -- -Dwarnings
- run: cargo clippy --all-targets --manifest-path core/Cargo.toml --no-default-features --features insecure,json -- -Dwarnings
- run: cargo clippy --all-targets --manifest-path core/Cargo.toml --no-default-features --features insecure,std -- -Dwarnings

doc:
runs-on: ubuntu-latest
Expand All @@ -124,6 +132,19 @@ jobs:
- run: rustc --version
- run: cargo doc --no-deps --document-private-items --all-features

nostd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-07-01
override: true
target: thumbv7em-none-eabi
# Target thumbv7em does not have std
- run: cargo build --target thumbv7em-none-eabi --manifest-path no-std-check/Cargo.toml

udeps:
runs-on: ubuntu-latest
steps:
Expand Down
Loading