Skip to content

Commit bfb7fc3

Browse files
committed
Ensure we build with all and no features.
1 parent cbbc355 commit bfb7fc3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
- name: Build
2929
run: |
3030
cargo build --target ${{ matrix.target }}
31+
cargo build --target ${{ matrix.target }} --no-default-features
32+
cargo build --target ${{ matrix.target }} --all-features
3133
3234
# Build the host tools
3335
build-host:
@@ -99,6 +101,8 @@ jobs:
99101
- name: Build docs
100102
run: |
101103
cargo doc --target ${{ matrix.target }}
104+
cargo doc --target ${{ matrix.target }} --no-default-features
105+
cargo doc --target ${{ matrix.target }} --all-features
102106
103107
# Build the docs for the host tools
104108
docs-host:
@@ -184,6 +188,8 @@ jobs:
184188
- name: Clippy
185189
run: |
186190
cargo clippy --target ${{ matrix.target }}
191+
cargo clippy --target ${{ matrix.target }} --no-default-features
192+
cargo clippy --target ${{ matrix.target }} --all-features
187193
188194
# Run clippy on the host tools
189195
clippy-host:

0 commit comments

Comments
 (0)