Skip to content

Commit 4cd26a8

Browse files
committed
remove more stuff
1 parent 9b70b8b commit 4cd26a8

File tree

2 files changed

+24
-11
lines changed

2 files changed

+24
-11
lines changed

src/ci/github-actions/jobs.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,6 @@ pr:
100100
- name: mingw-check-tidy
101101
continue_on_error: true
102102
<<: *job-linux-4c
103-
- name: x86_64-gnu-llvm-18
104-
env:
105-
ENABLE_GCC_CODEGEN: "1"
106-
# We are adding (temporarily) a dummy commit on the compiler
107-
READ_ONLY_SRC: "0"
108-
DOCKER_SCRIPT: x86_64-gnu-llvm.sh
109-
<<: *job-linux-16c
110-
- name: x86_64-gnu-tools
111-
<<: *job-linux-16c
112103

113104
# Jobs that run when you perform a try build (@bors try)
114105
# These jobs automatically inherit envs.try, to avoid repeating

src/ci/scripts/free-disk-space.sh

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ execAndMeasureSpaceChange() {
7979
# Remove large packages
8080
# REF: https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
8181
cleanPackages() {
82-
sudo apt-get -qq remove -y --fix-missing \
82+
sudo apt-get -qq purge -y --autoremove --fix-missing \
8383
'^aspnetcore-.*' \
8484
'^dotnet-.*' \
8585
'^llvm-.*' \
@@ -93,10 +93,24 @@ cleanPackages() {
9393
'mono-devel' \
9494
'libgl1-mesa-dri' \
9595
'google-cloud-sdk' \
96-
'google-cloud-cli'
96+
'google-cloud-cli' \
97+
'^java-*' \
98+
'groff' \
99+
'groff-base' \
100+
'^libllvm.*' \
101+
'^llvm.*' \
102+
'gcc' \
103+
'gcc-11' \
104+
'libicu-dev' \
105+
'^vim.*' \
106+
'python3-breezy' \
107+
'snap'
97108

98109
sudo apt-get autoremove -y || echo "::warning::The command [sudo apt-get autoremove -y] failed"
99110
sudo apt-get clean || echo "::warning::The command [sudo apt-get clean] failed failed"
111+
112+
echo "Installed packages sorted by size:"
113+
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -nr
100114
}
101115

102116
# Remove Docker images
@@ -123,6 +137,14 @@ echo ""
123137

124138
removeDir /usr/local/lib/android
125139
removeDir /usr/share/dotnet
140+
removeDir /usr/share/swift
141+
removeDir "/usr/local/share/boost"
142+
removeDir "$AGENT_TOOLSDIRECTORY"
143+
removeDir /opt/hostedtoolcache/
144+
removeDir /usr/local/graalvm/
145+
removeDir /usr/local/share/powershell
146+
removeDir /usr/local/share/chromium
147+
removeDir /usr/local/lib/node_modules
126148

127149
# Haskell runtime
128150
removeDir /opt/ghc

0 commit comments

Comments
 (0)