mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
CI: Ensure all documentation comments are protected against stripping
This commit is contained in:
parent
d50d7b4a95
commit
43a4bde600
1 changed files with 10 additions and 0 deletions
|
@ -444,6 +444,16 @@ coverage:
|
|||
reports:
|
||||
cobertura: coverage.xml
|
||||
|
||||
doc-stripping:
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
extends: .img-nightly
|
||||
stage: 'extras'
|
||||
script:
|
||||
- cargo install rustdoc-stripper
|
||||
- PATH=~/.cargo/bin/:$PATH ./generator.py --strip-docs --no-fmt
|
||||
- git diff --quiet || (echo 'Files changed after running `rustdoc-stripper -s`, make sure all documentation is protected with `// rustdoc-stripper-ignore-next`!'; git diff; false)
|
||||
|
||||
docs:
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
|
|
Loading…
Reference in a new issue