mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-16 17:02:32 +00:00
Partial revert "disable rustdoc in CI (#5839)"
This reverts most of the changes in a2fcd72606
,
but the "document private features" step is still disabled since it
operates only on wgpu-core which is exactly the problem.
This commit is contained in:
parent
b5934e89f7
commit
56d418f121
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -150,10 +150,10 @@ jobs:
|
||||
cargo -V
|
||||
|
||||
# Use special toolchain for rustdoc, see https://github.com/gfx-rs/wgpu/issues/4905
|
||||
# - name: Install Rustdoc Toolchain
|
||||
# run: |
|
||||
# rustup toolchain install ${{ env.DOCS_RUST_VERSION }} --no-self-update --profile=minimal --component rust-docs --target ${{ matrix.target }}
|
||||
# cargo +${{ env.DOCS_RUST_VERSION }} -V
|
||||
- name: Install Rustdoc Toolchain
|
||||
run: |
|
||||
rustup toolchain install ${{ env.DOCS_RUST_VERSION }} --no-self-update --profile=minimal --component rust-docs --target ${{ matrix.target }}
|
||||
cargo +${{ env.DOCS_RUST_VERSION }} -V
|
||||
|
||||
- name: disable debug
|
||||
shell: bash
|
||||
@ -195,11 +195,11 @@ jobs:
|
||||
# build for WebGPU
|
||||
cargo clippy --target ${{ matrix.target }} --tests --features glsl,spirv,fragile-send-sync-non-atomic-wasm
|
||||
cargo clippy --target ${{ matrix.target }} --tests --features glsl,spirv
|
||||
# cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --no-deps --features glsl,spirv
|
||||
cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --no-deps --features glsl,spirv
|
||||
|
||||
# all features
|
||||
cargo clippy --target ${{ matrix.target }} --tests --all-features
|
||||
# cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --no-deps --all-features
|
||||
cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --no-deps --all-features
|
||||
|
||||
- name: check em
|
||||
if: matrix.kind == 'em'
|
||||
@ -229,13 +229,15 @@ jobs:
|
||||
cargo clippy --target ${{ matrix.target }} --tests --benches --all-features
|
||||
|
||||
# build docs
|
||||
# cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --all-features --no-deps
|
||||
cargo +${{ env.DOCS_RUST_VERSION }} 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 \
|
||||
|
Loading…
Reference in New Issue
Block a user