CI and check.sh: run cargo doc for all crates

This commit is contained in:
Emil Ernerfeldt 2022-04-30 15:51:46 +02:00
parent 603e5bc5fb
commit 9b9c5005d3
2 changed files with 4 additions and 2 deletions

View file

@ -160,7 +160,7 @@ jobs:
toolchain: 1.60.0 toolchain: 1.60.0
override: true override: true
- run: sudo apt-get update && sudo apt-get install libspeechd-dev - run: sudo apt-get update && sudo apt-get install libspeechd-dev
- run: cargo doc -p eframe -p egui -p egui_extras -p egui_glium -p egui_glow -p egui-winit -p emath -p epaint --lib --no-deps --all-features - run: cargo doc --lib --no-deps --all-features
cargo-deny: cargo-deny:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04

View file

@ -17,7 +17,7 @@ cargo test --workspace --all-targets --all-features
cargo test --workspace --doc # slow - checks all doc-tests cargo test --workspace --doc # slow - checks all doc-tests
cargo fmt --all -- --check cargo fmt --all -- --check
cargo doc -p emath -p epaint -p egui -p eframe -p egui-winit -p egui_glium -p egui_glow --lib --no-deps --all-features cargo doc -p eframe -p egui -p egui_demo_lib -p egui_extras -p egui_glium -p egui_glow -p egui-winit -p emath -p epaint --lib --no-deps --all-features
cargo doc --document-private-items --no-deps --all-features cargo doc --document-private-items --no-deps --all-features
(cd eframe && cargo check --no-default-features) (cd eframe && cargo check --no-default-features)
@ -47,6 +47,8 @@ cargo doc --document-private-items --no-deps --all-features
# cargo install cargo-deny # cargo install cargo-deny
cargo deny check cargo deny check
# TODO: consider using https://github.com/taiki-e/cargo-hack or https://github.com/frewsxcv/cargo-all-features
# ------------------------------------------------------------ # ------------------------------------------------------------
# #