Skip to content
Merged
11 changes: 11 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,17 @@ jobs:
- name: Cythonize
run: |
make cythonize
- name: Free up disk space for Android emulator
if: ${{ matrix.config.platform == 'android' }}
# The Android emulator install can run out of disk space on the default
# runner image, causing sporadic CI failures. Reclaim space by dropping
# large pre-installed toolchains we do not need. See aiohttp PR #12902.
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
Comment thread
Dreamsorcerer marked this conversation as resolved.
Resolved
with:
# Keep the Android SDK (this job needs it); reclaim space from the
# large toolchains and caches we never touch. Skip the slow apt purge.
android: false
large-packages: false
Comment thread
Dreamsorcerer marked this conversation as resolved.
Resolved
Comment thread
Dreamsorcerer marked this conversation as resolved.
Resolved
- name: Enable KVM group perms for Android emulator
if: ${{ matrix.config.platform == 'android' }}
# This is normally done by cibuildwheel automatically, when it detects Github Actions. But by unsetting GITHUB_ACTIONS
Expand Down
3 changes: 3 additions & 0 deletions CHANGES/12902.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Free up disk space before the Android emulator install to reduce sporadic CI failures.

-- by :user:`aiolibsbot`
Loading