Mesa (main): ci: Stash the ldd and ccache stats output under collapsed sections.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Feb 23 23:35:57 UTC 2022


Module: Mesa
Branch: main
Commit: 6859b614a285ad19bc67161820a361dc579bad81
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6859b614a285ad19bc67161820a361dc579bad81

Author: Emma Anholt <emma at anholt.net>
Date:   Tue Feb  8 12:52:56 2022 -0800

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 at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14962>

---

 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 157dd030cd3..4b9230147b3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -708,9 +708,13 @@ sanity:
     - !reference [default, before_script]
     - export PATH="/usr/lib/ccache:$PATH"
     - export CCACHE_BASEDIR="$PWD"
+    - echo -e "\e[0Ksection_start:$(date +%s):ccache_before[collapsed=true]\r\e[0Kccache stats before build"
     - ccache --show-stats
+    - echo -e "\e[0Ksection_end:$(date +%s):ccache_before\r\e[0K"
   after_script:
+    - echo -e "\e[0Ksection_start:$(date +%s):ccache_after[collapsed=true]\r\e[0Kccache stats after build"
     - ccache --show-stats
+    - echo -e "\e[0Ksection_end:$(date +%s):ccache_after\r\e[0K"
     - !reference [default, after_script]
 
 .build-windows:
@@ -1208,7 +1212,9 @@ debian-mingw32-x86_64:
     # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
     - rm -rf install
     - 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 {} \;
+    - echo -e "\e[0Ksection_end:$(date +%s):ldd_section\r\e[0K"
   artifacts:
     when: always
     name: "mesa_${CI_JOB_NAME}"



More information about the mesa-commit mailing list