From b84b3db00b966b2f8e2bf084724f036d17690891 Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Sat, 6 Dec 2025 15:06:02 +0000 Subject: [PATCH] :construction_worker: Fix CI disk space issue in ubuntu_build job Add "Free disk space" step to ubuntu_build job to prevent builds from failing with "no space left on device" error. This step was previously removed during CI optimization (commit 37cb53e2) but is needed for disk-intensive builds like sdl2 with numpy. Also remove continue-on-error from build jobs so failures are reported clearly instead of being hidden. Added comments to rebuild_updated_recipes jobs explaining why continue-on-error is intentional there. --- .github/workflows/push.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 66865e3855..fa0f142add 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -63,7 +63,6 @@ jobs: name: Build test APP [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ] needs: [flake8] runs-on: ${{ matrix.runs_on }} - continue-on-error: true strategy: matrix: runs_on: [ubuntu-latest] @@ -81,6 +80,15 @@ jobs: steps: - name: Checkout python-for-android uses: actions/checkout@v5 + # helps with GitHub runner getting out of space + - name: Free disk space + run: | + df -h + sudo swapoff -a + sudo rm -f /swapfile + sudo apt -y clean + docker images -q | xargs -r docker rmi + df -h - name: Build python-for-android docker image run: | docker build --tag=kivy/python-for-android . @@ -113,7 +121,6 @@ jobs: name: Build test APP [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ] needs: [flake8] runs-on: ${{ matrix.runs_on }} - continue-on-error: true strategy: matrix: # macos-latest (ATM macos-15) runs on Apple Silicon, @@ -188,6 +195,7 @@ jobs: name: Test updated recipes for arch ${{ matrix.android_arch }} [ ubuntu-latest ] needs: [flake8] runs-on: ubuntu-latest + # continue on error to see failures across all architectures continue-on-error: true strategy: matrix: @@ -219,6 +227,7 @@ jobs: name: Test updated recipes for arch ${{ matrix.android_arch }} [ ${{ matrix.runs_on }} ] needs: [flake8] runs-on: ${{ matrix.runs_on }} + # continue on error to see failures across all architectures continue-on-error: true strategy: matrix: