mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
[ci] Re-enable cargo doc --document-private-items in CI (#6224)
[ci] Re-enable `cargo doc --document-private-items` in CI Re-enable CI checks that naga, wgpu-core, and wgpu-hal documentation builds without warnings, even with `--document-private-items`. This was previously disabled due to #4905, which causes long build times, but with the de-generification of `wgpu_core`, that's no longer a problem: a build of all three crates' docs now takes only 7s. --------- Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
This commit is contained in:
parent
81963e24ca
commit
0b93030582
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -220,20 +220,18 @@ jobs:
|
||||
# build docs
|
||||
cargo doc --target ${{ matrix.target }} --all-features --no-deps
|
||||
|
||||
# wgpu-core docs are not feasible due to <https://github.com/gfx-rs/wgpu/issues/4905>
|
||||
#
|
||||
# - name: check private item docs
|
||||
# if: matrix.kind == 'native'
|
||||
# shell: bash
|
||||
# run: |
|
||||
# set -e
|
||||
#
|
||||
# # wgpu_core package
|
||||
# cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} \
|
||||
# --package wgpu-core \
|
||||
# --package wgpu-hal \
|
||||
# --package naga \
|
||||
# --all-features --no-deps --document-private-items
|
||||
- name: check private item docs
|
||||
if: matrix.kind == 'native'
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
|
||||
# wgpu_core package
|
||||
cargo doc --target ${{ matrix.target }} \
|
||||
--package wgpu-core \
|
||||
--package wgpu-hal \
|
||||
--package naga \
|
||||
--all-features --no-deps --document-private-items
|
||||
|
||||
# We run minimal checks on the MSRV of the core crates, ensuring that
|
||||
# its dependency tree does not cause issues for firefox.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user