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
23 changes: 6 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,43 +31,32 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
components: rustfmt

- name: Style check
if: matrix.toolchain == 'nightly'
run: cargo fmt --all --check
run: rustup component add rustfmt && cargo fmt --all --check

- name: Cargo build
run: cargo build --verbose

- name: Cargo test
- name: Cargo test no features
run: cargo test --verbose

- name: Cargo test w/ serde
run: cargo test --verbose --features serde

- name: Cargo test w/ malloc_size_of
run: cargo test --verbose --features malloc_size_of

- name: Cargo check w/o default features
if: matrix.toolchain == 'nightly'
run: cargo check --verbose --no-default-features

- name: Cargo test all features
if: matrix.toolchain == 'nightly'
run: cargo test --verbose --all-features

- name: Cargo doc all features
if: matrix.toolchain == 'nightly'
run: cargo doc --all-features
run: cargo doc --all-features --verbose

- name: Cargo bench
- name: Cargo bench all features
if: matrix.toolchain == 'nightly'
run: cargo bench --verbose bench
run: cargo bench --verbose --all-features

- name: miri
if: matrix.toolchain == 'nightly'
run: bash ./scripts/run_miri.sh
run: rustup component add miri && cargo miri test --verbose --all-features

- name: fuzz
if: matrix.fuzz == 1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["small", "vec", "vector", "stack", "no_std"]
categories = ["data-structures"]
readme = "README.md"
documentation = "https://docs.rs/smallvec/"
exclude = [".gitignore", "tests/", "scripts/", "fuzz/", "benches/", ".github/"]
exclude = [".gitignore", "tests/", "fuzz/", "benches/", ".github/"]

[features]
std = []
Expand Down
21 changes: 0 additions & 21 deletions scripts/run_miri.sh

This file was deleted.

Loading