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

CI: run cargo doc (#309)

* Deny doc errors

* Add intentional bad intradoc link to test CI

* Add cargo doc to CI

* Fix carg doc web (add wasm32 target)

* Fix intentionally broken doc-link
This commit is contained in:
Emil Ernerfeldt
2021-04-15 10:35:15 +02:00
committed by GitHub
parent b187d1c576
commit 76d5229821
13 changed files with 64 additions and 8 deletions

View File

@@ -120,3 +120,30 @@ jobs:
with:
command: clippy
args: -- -D warnings
doc:
name: cargo doc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: sudo apt-get install libspeechd-dev
- run: cargo doc -p emath -p epaint -p egui -p eframe -p epi -p egui_web -p egui_glium --lib --no-deps --all-features
doc_web:
name: cargo doc web
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: sudo apt-get install libspeechd-dev
- run: rustup target add wasm32-unknown-unknown
- run: cargo doc -p egui_web --target wasm32-unknown-unknown --lib --no-deps --all-features