Skip to content

Commit 8ad29d4

Browse files
committed
build: run basic feature matrix in CI
Extending the "build" step to cover no flags and all flags, as well as the existing default. Could possible add more flag combos in the future if things get complicated, but this should cover most cases for now. Also dropping the "check" step since build covers all of it.
1 parent ed6dc8c commit 8ad29d4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@ jobs:
2525
run: cargo clippy --all-targets
2626
- name: Format
2727
run: cargo fmt -- --check
28-
- name: Build with defeault features
29-
run: cargo build --verbose
30-
- name: Check release build on Rust ${{ matrix.toolchain }}
31-
run: cargo check --release --verbose --color always
28+
- name: Build
29+
run: |
30+
cargo build --verbose
31+
cargo build --all-features
32+
cargo build --no-default-features
3233
- name: Unit test
3334
run: cargo test --verbose --lib
3435
- name: Doc test
3536
run: cargo test --verbose --doc
36-
# Check that library code can be compiled with MSRV (1.63.0).
37+
# Check that library code can be compiled with the MSRV (1.63.0) compiler.
3738
msrv:
3839
runs-on: ubuntu-latest
3940
steps:

0 commit comments

Comments
 (0)