forked from mirrors/gstreamer-rs
ci: Add more git diff
s 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:
parent
b2083d0973
commit
b15d8e4c2e
1 changed files with 6 additions and 0 deletions
|
@ -384,11 +384,16 @@ gir-checks:
|
||||||
extends: .img-stable
|
extends: .img-stable
|
||||||
stage: 'extras'
|
stage: 'extras'
|
||||||
script:
|
script:
|
||||||
|
- git diff --exit-code
|
||||||
- git clone --depth 1 https://github.com/gtk-rs/checker
|
- git clone --depth 1 https://github.com/gtk-rs/checker
|
||||||
|
- git diff --exit-code
|
||||||
- cd checker && echo '[workspace]' >> Cargo.toml
|
- cd checker && echo '[workspace]' >> Cargo.toml
|
||||||
|
- cd .. && git diff --exit-code && cd checker
|
||||||
- cargo build --locked --color=always --release
|
- cargo build --locked --color=always --release
|
||||||
|
- cd .. && git diff --exit-code && cd checker
|
||||||
- |
|
- |
|
||||||
cargo run --color=always --release -- ../gstreamer* ../gstreamer-gl/{egl,wayland,x11}
|
cargo run --color=always --release -- ../gstreamer* ../gstreamer-gl/{egl,wayland,x11}
|
||||||
|
- cd .. && git diff --exit-code && cd checker
|
||||||
# Check doc aliases
|
# Check doc aliases
|
||||||
- |
|
- |
|
||||||
for crate in ../gstreamer* ../gstreamer-gl/{egl,wayland,x11}; do
|
for crate in ../gstreamer* ../gstreamer-gl/{egl,wayland,x11}; do
|
||||||
|
@ -403,6 +408,7 @@ gir-checks:
|
||||||
echo '-->' $crate
|
echo '-->' $crate
|
||||||
./checker/check_init_asserts $crate
|
./checker/check_init_asserts $crate
|
||||||
done
|
done
|
||||||
|
- git diff --exit-code
|
||||||
|
|
||||||
outdated:
|
outdated:
|
||||||
extends: .img-stable
|
extends: .img-stable
|
||||||
|
|
Loading…
Reference in a new issue