Skip to content

Commit de5b4ec

Browse files
committed
build the docs on CI
1 parent 1818419 commit de5b4ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ jobs:
5050
rustup update $TOOLCHAIN --no-self-update && rustup default $TOOLCHAIN
5151
shell: bash
5252
if: matrix.build == 'msrv'
53+
- name: Run cargo doc, deny warnings
54+
env:
55+
RUSTDOCFLAGS: "-D warnings"
56+
run: |
57+
cargo doc -p bzip2-sys --no-deps
58+
cargo doc -p bzip2 --no-deps
59+
cargo doc -p bzip2 --no-deps --no-default-features --features libbz2-rs-sys
5360
- run: cargo test
5461
- run: cargo test --no-default-features --features libbz2-rs-sys
5562
if: matrix.build != 'msrv'

0 commit comments

Comments
 (0)