Skip to content

Commit

Permalink
ci: Check all crate documentation in addition to target-specific ndk
Browse files Browse the repository at this point in the history
Only `ndk` docs are built for all `android` targets but the rest of the
documentation remains untested. Especially now that we're expanding to
provide more complete docs for ndk-build and cargo-apk should everything
be tested, to make sure that things like intra-doc links remain in
working order.
  • Loading branch information
MarijnS95 committed Mar 15, 2021
1 parent e5f0c7e commit e43a678
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ jobs:
run:
cargo test -p cargo-apk --all-features

- name: Document all crates
env:
RUSTDOCFLAGS: -Dwarnings
run:
cargo doc --all --all-features

- name: Install cargo-apk
run:
cargo install --path cargo-apk
Expand Down

0 comments on commit e43a678

Please sign in to comment.