Skip to content

Commit fdb2d57

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ 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
5359
- run: cargo test
5460
- run: cargo test --no-default-features --features libbz2-rs-sys
5561
if: matrix.build != 'msrv'

0 commit comments

Comments
 (0)