Skip to content

Commit f74215f

Browse files
committed
ci: free up disk space
kani-list-autoharness The hosted runner lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
1 parent d7f98cd commit f74215f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ jobs:
5656
UNSTABLE_ARGS: -Z function-contracts -Z mem-predicates -Z float-lib -Z c-ffi -Z loop-contracts
5757
AUTO: ${{ matrix.autoharness }}
5858
steps:
59+
- name: Remove unnecessary software to free up disk space
60+
run: |
61+
# inspired by https://github.com/easimon/maximize-build-space/blob/master/action.yml
62+
df -h
63+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /usr/local/.ghcup
64+
df -h
65+
5966
- uses: actions/checkout@v4
6067
with:
6168
submodules: 'recursive'

0 commit comments

Comments
 (0)