ci: Store meson logs into artifacts

This helps debugging failures.
This commit is contained in:
Xavier Claessens 2022-09-01 15:13:18 -04:00 committed by Sebastian Dröge
parent 934e6c3888
commit 8f932a7641

View file

@ -190,6 +190,7 @@ meson shared:
expire_in: "7 days" expire_in: "7 days"
paths: paths:
- plugins-cache-diffs/ - plugins-cache-diffs/
- 'build/meson-logs/'
meson static: meson static:
extends: .meson extends: .meson
@ -201,6 +202,11 @@ meson static:
- PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(pwd)/../install/lib/x86_64-linux-gnu/pkgconfig meson build - PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(pwd)/../install/lib/x86_64-linux-gnu/pkgconfig meson build
- ninja -C build - ninja -C build
- ./build/test-gst-static - ./build/test-gst-static
artifacts:
when: always
expire_in: "7 days"
paths:
- 'build/meson-logs/'
# build gst-plugins-rs as a gst-build subproject # build gst-plugins-rs as a gst-build subproject
gst-build: gst-build:
@ -219,6 +225,11 @@ gst-build:
- ln -s $P subprojects/gst-plugins-rs - ln -s $P subprojects/gst-plugins-rs
- meson build -Domx=disabled -Dpython=disabled -Dlibav=disabled -Dlibnice=disabled -Dugly=disabled -Dbad=disabled -Ddevtools=disabled -Dges=disabled -Drtsp_server=disabled -Dvaapi=disabled -Dsharp=disabled -Dgst-examples=disabled -Drs=enabled -Dgst-plugins-rs:sodium=system - meson build -Domx=disabled -Dpython=disabled -Dlibav=disabled -Dlibnice=disabled -Dugly=disabled -Dbad=disabled -Ddevtools=disabled -Dges=disabled -Drtsp_server=disabled -Dvaapi=disabled -Dsharp=disabled -Dgst-examples=disabled -Drs=enabled -Dgst-plugins-rs:sodium=system
- ninja -C build - ninja -C build
artifacts:
expire_in: '7 days'
when: always
paths:
- 'build/meson-logs/'
rustfmt: rustfmt:
extends: .img-stable extends: .img-stable