Skip to content

Commit c67d5bd

Browse files
authored
Merge pull request #3265 from AndreMiras/feature/ci_free_disk_space
👷 Fix CI disk space issue in ubuntu_build job
2 parents ad8f902 + b84b3db commit c67d5bd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/push.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ jobs:
6363
name: Build test APP [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
6464
needs: [flake8]
6565
runs-on: ${{ matrix.runs_on }}
66-
continue-on-error: true
6766
strategy:
6867
matrix:
6968
runs_on: [ubuntu-latest]
@@ -81,6 +80,15 @@ jobs:
8180
steps:
8281
- name: Checkout python-for-android
8382
uses: actions/checkout@v5
83+
# helps with GitHub runner getting out of space
84+
- name: Free disk space
85+
run: |
86+
df -h
87+
sudo swapoff -a
88+
sudo rm -f /swapfile
89+
sudo apt -y clean
90+
docker images -q | xargs -r docker rmi
91+
df -h
8492
- name: Build python-for-android docker image
8593
run: |
8694
docker build --tag=kivy/python-for-android .
@@ -113,7 +121,6 @@ jobs:
113121
name: Build test APP [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
114122
needs: [flake8]
115123
runs-on: ${{ matrix.runs_on }}
116-
continue-on-error: true
117124
strategy:
118125
matrix:
119126
# macos-latest (ATM macos-15) runs on Apple Silicon,
@@ -188,6 +195,7 @@ jobs:
188195
name: Test updated recipes for arch ${{ matrix.android_arch }} [ ubuntu-latest ]
189196
needs: [flake8]
190197
runs-on: ubuntu-latest
198+
# continue on error to see failures across all architectures
191199
continue-on-error: true
192200
strategy:
193201
matrix:
@@ -219,6 +227,7 @@ jobs:
219227
name: Test updated recipes for arch ${{ matrix.android_arch }} [ ${{ matrix.runs_on }} ]
220228
needs: [flake8]
221229
runs-on: ${{ matrix.runs_on }}
230+
# continue on error to see failures across all architectures
222231
continue-on-error: true
223232
strategy:
224233
matrix:

0 commit comments

Comments
 (0)