You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by yu...@apache.org on 2025/09/26 02:27:54 UTC
(teaclave-trustzone-sdk) branch main updated: ci: enhance cleanup process in workflow (#234)
This is an automated email from the ASF dual-hosted git repository.
yuanz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/teaclave-trustzone-sdk.git
The following commit(s) were added to refs/heads/main by this push:
new c2da817 ci: enhance cleanup process in workflow (#234)
c2da817 is described below
commit c2da81797e7499981c0c040bad65565f42788db0
Author: Yuan Zhuang <yu...@apache.org>
AuthorDate: Fri Sep 26 10:27:49 2025 +0800
ci: enhance cleanup process in workflow (#234)
Added cleanup steps to remove heavy preinstalled SDKs.
---
.github/workflows/reuse_test_in_optee_repo.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.github/workflows/reuse_test_in_optee_repo.yml b/.github/workflows/reuse_test_in_optee_repo.yml
index bbc4f5f..e124add 100644
--- a/.github/workflows/reuse_test_in_optee_repo.yml
+++ b/.github/workflows/reuse_test_in_optee_repo.yml
@@ -57,6 +57,12 @@ jobs:
done
sudo apt-get autoremove -y || true
sudo apt-get clean || true
+
+ echo "Removing heavy preinstalled SDKs..."
+ sudo rm -rf /usr/local/lib/android
+ sudo rm -rf /usr/share/dotnet
+ sudo rm -rf /opt/hostedtoolcache
+
echo "Disk usage after cleanup:"
df -h
- name: Checkout repository
@@ -110,6 +116,12 @@ jobs:
done
sudo apt-get autoremove -y || true
sudo apt-get clean || true
+
+ echo "Removing heavy preinstalled SDKs..."
+ sudo rm -rf /usr/local/lib/android
+ sudo rm -rf /usr/share/dotnet
+ sudo rm -rf /opt/hostedtoolcache
+
echo "Disk usage after cleanup:"
df -h
- name: Checkout repository
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org