Skip to content
Merged
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
22 changes: 11 additions & 11 deletions .github/scripts/cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

set -ex

cargo fmt --check
cargo fmt --check || exit 1

cargo clippy --no-deps --all-targets -- -D warnings
cargo install --locked cargo-deny && cargo deny check || exit 1

cargo install --locked cargo-deny && cargo deny check
cargo clippy --no-deps --all-targets -- -D warnings || exit 1
cargo clippy --no-deps --all-targets --no-default-features --features curve25519,mlkem-768 -- -D warnings || exit 1
cargo clippy --no-deps --all-targets --no-default-features --features p-256,mlkem-512 -- -D warnings || exit 1
cargo clippy --no-deps --all-targets --no-default-features --features p-256,mlkem-768 -- -D warnings || exit 1

cargo clippy --no-deps --all-targets --no-default-features --features curve25519,mlkem-768 -- -D warnings
cargo clippy --no-deps --all-targets --no-default-features --features p-256,mlkem-512 -- -D warnings
cargo clippy --no-deps --all-targets --no-default-features --features p-256,mlkem-768 -- -D warnings

cargo test
cargo test --no-default-features --features curve25519,mlkem-768
cargo test --no-default-features --features p-256,mlkem-512
cargo test --no-default-features --features p-256,mlkem-768
cargo test --all-targets --features test-utils || exit 1
cargo test --all-targets --no-default-features --all-features || exit 1
cargo test --all-targets --no-default-features --features test-utils,curve25519,mlkem-768 || exit 1
cargo test --all-targets --no-default-features --features test-utils,p-256,mlkem-512 || exit 1
cargo test --all-targets --no-default-features --features test-utils,p-256,mlkem-768 || exit 1
Loading
Loading