Skip to content

Commit

Permalink
build the docs on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Feb 11, 2025
1 parent 1818419 commit 5d6a008
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ jobs:
rustup update $TOOLCHAIN --no-self-update && rustup default $TOOLCHAIN
shell: bash
if: matrix.build == 'msrv'
- name: Run cargo doc, deny warnings
run: |
export RUSTDOCFLAGS="-D warnings"
cargo doc -p bzip2-sys --no-deps
cargo doc -p bzip2 --no-deps
cargo doc -p bzip2 --no-deps --no-default-features --features libbz2-rs-sys
- run: cargo test
- run: cargo test --no-default-features --features libbz2-rs-sys
if: matrix.build != 'msrv'
Expand Down

0 comments on commit 5d6a008

Please sign in to comment.