Skip to content

Commit c16113b

Browse files
committed
attempt make more space
1 parent ca13302 commit c16113b

File tree

1 file changed

+34
-6
lines changed

1 file changed

+34
-6
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,20 +166,48 @@ jobs:
166166
run: |
167167
./aws-crt-kotlin/docker-images/build-all.sh
168168
169+
- name: Aggressive cleanup
170+
run: |
171+
# Remove .NET SDKs
172+
sudo rm -rf /usr/share/dotnet
173+
174+
# Remove Swift toolchain
175+
sudo rm -rf /usr/share/swift
176+
177+
# Remove Haskell (GHC)
178+
sudo rm -rf /usr/local/.ghcup
179+
180+
# Remove Julia
181+
sudo rm -rf /usr/local/julia*
182+
183+
# Remove Android SDKs
184+
sudo rm -rf /usr/local/lib/android
185+
186+
# Remove Chromium (optional if not using for browser tests)
187+
sudo rm -rf /usr/local/share/chromium
188+
189+
# Remove Microsoft/Edge and Google Chrome builds
190+
sudo rm -rf /opt/microsoft /opt/google
191+
192+
# Remove Azure CLI
193+
sudo rm -rf /opt/az
194+
195+
# Remove PowerShell
196+
sudo rm -rf /usr/local/share/powershell
197+
198+
# Remove CodeQL and other toolcaches
199+
sudo rm -rf /opt/hostedtoolcache
200+
201+
df -h
202+
169203
- name: Build and Test on Linux with Cross-Compile
170204
working-directory: ./smithy-kotlin
171205
shell: bash
172206
run: |
173207
# FIXME K2. Re-enable warnings as errors after this warning is removed: https://youtrack.jetbrains.com/issue/KT-68532
174208
# echo "kotlinWarningsAsErrors=true" >> $GITHUB_WORKSPACE/local.properties
175209
176-
df -h /tmp
177-
178210
./gradlew apiCheck
179-
./gradlew clean
180-
181-
df -h /tmp
182-
183211
./gradlew build
184212
185213
- name: Save Test Reports

0 commit comments

Comments
 (0)