[librsvg: 4/16] CI: remove the compilation directories for grcov/etc. to make the image smaller




commit 63fb0e585e97de589bab9ccf1276baebcc1d45b6
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Sep 15 18:57:05 2022 -0500

    CI: remove the compilation directories for grcov/etc. to make the image smaller
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/747>

 ci/container_builds.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/ci/container_builds.yml b/ci/container_builds.yml
index 7a4e0fb1c..ea43ec78a 100644
--- a/ci/container_builds.yml
+++ b/ci/container_builds.yml
@@ -55,7 +55,8 @@ variables:
       bash ci/install-rust.sh ${RUST_STABLE} x86_64-unknown-linux-gnu &&
       bash ci/install-rust-tools.sh &&
       bash ci/install-grcov.sh &&
-      pip3 install gi-docgen sphinx sphinx_rtd_theme
+      pip3 install gi-docgen sphinx sphinx_rtd_theme &&
+      rm -rf /root/.cargo /root/.cache    # cleanup compilation dirs; binaries are installed now
 
 .container.opensuse@x86_64.minimum:
   extends: .container.opensuse@common


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]