Add CI check for doc aliases

This commit is contained in:
Guillaume Gomez 2021-05-20 20:21:27 +02:00
parent 540062b97c
commit 1b1a4aa30b

View file

@ -383,28 +383,16 @@ gir-checks:
- cd checker && echo '[workspace]' >> Cargo.toml - cd checker && echo '[workspace]' >> Cargo.toml
- cargo build --locked --color=always --release - cargo build --locked --color=always --release
- | - |
cargo run --color=always --release -- \ cargo run --color=always --release -- ../gstreamer* ../gstreamer-gl/{egl,wayland,x11}
../gstreamer/ \ # Check doc aliases
../gstreamer-app \ - |
../gstreamer-audio/ \ for crate in ../gstreamer* ../gstreamer-gl/{egl,wayland,x11}; do
../gstreamer-base \ echo '--> Checking doc aliases in ' $crate
../gstreamer-check/ \ python3 doc_aliases.py $crate
../gstreamer-controller/ \ done
../gstreamer-editing-services/ \
../gstreamer-gl/ \
../gstreamer-gl/egl \
../gstreamer-gl/wayland \
../gstreamer-gl/x11 \
../gstreamer-net/ \
../gstreamer-pbutils/ \
../gstreamer-player/ \
../gstreamer-rtp/ \
../gstreamer-rtsp-server/ \
../gstreamer-rtsp/ \
../gstreamer-sdp/ \
../gstreamer-video/ \
../gstreamer-webrtc/
- cd .. - cd ..
# To ensure that there was no missing #[doc(alias = "...")]
- git diff --exit-code
- | - |
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
echo '-->' $crate echo '-->' $crate