1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

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
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

View File

@@ -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
# ------------------------------------------------------------
#