ci: Stash the ldd and ccache stats output under collapsed sections.
You rarely need to look at these, they're just nice to have sometimes. Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14962>
This commit is contained in:
parent
a2c1fa9137
commit
6859b614a2
|
@ -708,9 +708,13 @@ sanity:
|
||||||
- !reference [default, before_script]
|
- !reference [default, before_script]
|
||||||
- export PATH="/usr/lib/ccache:$PATH"
|
- export PATH="/usr/lib/ccache:$PATH"
|
||||||
- export CCACHE_BASEDIR="$PWD"
|
- export CCACHE_BASEDIR="$PWD"
|
||||||
|
- echo -e "\e[0Ksection_start:$(date +%s):ccache_before[collapsed=true]\r\e[0Kccache stats before build"
|
||||||
- ccache --show-stats
|
- ccache --show-stats
|
||||||
|
- echo -e "\e[0Ksection_end:$(date +%s):ccache_before\r\e[0K"
|
||||||
after_script:
|
after_script:
|
||||||
|
- echo -e "\e[0Ksection_start:$(date +%s):ccache_after[collapsed=true]\r\e[0Kccache stats after build"
|
||||||
- ccache --show-stats
|
- ccache --show-stats
|
||||||
|
- echo -e "\e[0Ksection_end:$(date +%s):ccache_after\r\e[0K"
|
||||||
- !reference [default, after_script]
|
- !reference [default, after_script]
|
||||||
|
|
||||||
.build-windows:
|
.build-windows:
|
||||||
|
@ -1208,7 +1212,9 @@ debian-mingw32-x86_64:
|
||||||
# Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
|
# Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
|
||||||
- rm -rf install
|
- rm -rf install
|
||||||
- tar -xf artifacts/install.tar
|
- tar -xf artifacts/install.tar
|
||||||
|
- echo -e "\e[0Ksection_start:$(date +%s):ldd_section[collapsed=true]\r\e[0KChecking ldd on driver build"
|
||||||
- LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
|
- LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
|
||||||
|
- echo -e "\e[0Ksection_end:$(date +%s):ldd_section\r\e[0K"
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
name: "mesa_${CI_JOB_NAME}"
|
name: "mesa_${CI_JOB_NAME}"
|
||||||
|
|
Loading…
Reference in New Issue