ci: Add more git diffs to the gir checker job to figure out where it fails

It regularly fails when building a pipeline on master with dirty git
submodules, but never seems to fail in MRs.
This commit is contained in:
Sebastian Dröge 2021-05-28 13:19:53 +03:00
parent b2083d0973
commit b15d8e4c2e

View file

@ -384,11 +384,16 @@ gir-checks:
extends: .img-stable
stage: 'extras'
script:
- git diff --exit-code
- git clone --depth 1 https://github.com/gtk-rs/checker
- git diff --exit-code
- cd checker && echo '[workspace]' >> Cargo.toml
- cd .. && git diff --exit-code && cd checker
- cargo build --locked --color=always --release
- cd .. && git diff --exit-code && cd checker
- |
cargo run --color=always --release -- ../gstreamer* ../gstreamer-gl/{egl,wayland,x11}
- cd .. && git diff --exit-code && cd checker
# Check doc aliases
- |
for crate in ../gstreamer* ../gstreamer-gl/{egl,wayland,x11}; do
@ -403,6 +408,7 @@ gir-checks:
echo '-->' $crate
./checker/check_init_asserts $crate
done
- git diff --exit-code
outdated:
extends: .img-stable