This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new a78a3a461 workflows/build.yml: fix fatal: write error: No space left 
on device
a78a3a461 is described below

commit a78a3a461b17ee7cf01e1bda8c500321bdb236f7
Author: simbit18 <[email protected]>
AuthorDate: Thu Dec 4 16:49:39 2025 +0100

    workflows/build.yml: fix fatal: write error: No space left on device
    
    Fixed error verified in this PR https://github.com/apache/nuttx/pull/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]>
---
 .github/workflows/build.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ab5cd6875..779f458bc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -143,6 +143,16 @@ jobs:
 
     steps:
 
+      - name: Show Disk Space
+        run: df -h
+
+      - name: Free Disk Space (Ubuntu)
+        run: |
+          sudo rm -rf /usr/local/lib/android
+
+      - name: After CLEAN-UP Disk Space
+        run: df -h
+
       - name: Download Source Artifact
         uses: actions/download-artifact@v6
         with:
@@ -183,6 +193,10 @@ jobs:
                 ./cibuild.sh -c -A -N -R -S testlist/${{matrix.boards}}.dat
             fi
 
+      - name: Post-build Disk Space
+        if: always()
+        run: df -h
+
       - uses: actions/upload-artifact@v5
         if: ${{ always() }}
         with:

Reply via email to