Skip to content

Commit b4688c3

Browse files
committed
cleanup before pr
1 parent 6a48da0 commit b4688c3

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ env:
2222
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dkotlin.incremental=false"
2323

2424
jobs:
25-
check-disk-space:
26-
runs-on: ubuntu-latest
27-
steps:
28-
- name: Check tmp
29-
run: df -h /tmp
30-
- name: Check /
31-
run: df -h /
32-
3325
jvm:
3426
runs-on: ubuntu-latest
3527
strategy:
@@ -166,8 +158,10 @@ jobs:
166158
run: |
167159
./aws-crt-kotlin/docker-images/build-all.sh
168160
169-
- name: Aggressive cleanup
161+
- name: Remove unnecessary tools
170162
run: |
163+
echo "Making space on disk for linux build (TODO: Diagnose why linux build runs out of disk space)"
164+
171165
# Remove .NET SDKs
172166
sudo rm -rf /usr/share/dotnet
173167
@@ -183,7 +177,7 @@ jobs:
183177
# Remove Android SDKs
184178
sudo rm -rf /usr/local/lib/android
185179
186-
# Remove Chromium (optional if not using for browser tests)
180+
# Remove Chromium
187181
sudo rm -rf /usr/local/share/chromium
188182
189183
# Remove Microsoft/Edge and Google Chrome builds
@@ -195,9 +189,7 @@ jobs:
195189
# Remove PowerShell
196190
sudo rm -rf /usr/local/share/powershell
197191
198-
# Remove CodeQL and other toolcaches
199-
# sudo rm -rf /opt/hostedtoolcache
200-
192+
echo "Disk space:"
201193
df -h
202194
203195
- name: Build and Test on Linux with Cross-Compile
@@ -206,7 +198,6 @@ jobs:
206198
run: |
207199
# FIXME K2. Re-enable warnings as errors after this warning is removed: https://youtrack.jetbrains.com/issue/KT-68532
208200
# echo "kotlinWarningsAsErrors=true" >> $GITHUB_WORKSPACE/local.properties
209-
210201
./gradlew apiCheck
211202
./gradlew build
212203

0 commit comments

Comments
 (0)