CI and check.sh: run cargo doc for all crates
This commit is contained in:
parent
603e5bc5fb
commit
9b9c5005d3
2 changed files with 4 additions and 2 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -160,7 +160,7 @@ jobs:
|
|||
toolchain: 1.60.0
|
||||
override: true
|
||||
- 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:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
@ -17,7 +17,7 @@ cargo test --workspace --all-targets --all-features
|
|||
cargo test --workspace --doc # slow - checks all doc-tests
|
||||
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
|
||||
|
||||
(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 deny check
|
||||
|
||||
# TODO: consider using https://github.com/taiki-e/cargo-hack or https://github.com/frewsxcv/cargo-all-features
|
||||
|
||||
# ------------------------------------------------------------
|
||||
#
|
||||
|
||||
|
|
Loading…
Reference in a new issue