Skip to content

Commit a78a3a4

Browse files
simbit18xiaoxiang781216
authored andcommitted
workflows/build.yml: fix fatal: write error: No space left on device
Fixed error verified in this PR apache/nuttx#17423 added to the workflow: - Show Disk Space - Free Disk Space (Ubuntu) Only Android runtime removed - Post-build Disk Space We can now monitor disk space. Signed-off-by: simbit18 <[email protected]>
1 parent f000ed7 commit a78a3a4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,16 @@ jobs:
143143

144144
steps:
145145

146+
- name: Show Disk Space
147+
run: df -h
148+
149+
- name: Free Disk Space (Ubuntu)
150+
run: |
151+
sudo rm -rf /usr/local/lib/android
152+
153+
- name: After CLEAN-UP Disk Space
154+
run: df -h
155+
146156
- name: Download Source Artifact
147157
uses: actions/download-artifact@v6
148158
with:
@@ -183,6 +193,10 @@ jobs:
183193
./cibuild.sh -c -A -N -R -S testlist/${{matrix.boards}}.dat
184194
fi
185195
196+
- name: Post-build Disk Space
197+
if: always()
198+
run: df -h
199+
186200
- uses: actions/upload-artifact@v5
187201
if: ${{ always() }}
188202
with:

0 commit comments

Comments
 (0)