mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
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 <simbit18@gmail.com>
This commit is contained in:
@@ -154,6 +154,16 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
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
|
- name: Download Source Artifact
|
||||||
uses: actions/download-artifact@v6
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
@@ -194,6 +204,10 @@ jobs:
|
|||||||
./cibuild.sh -c -A -N -R -S testlist/${{matrix.boards}}.dat
|
./cibuild.sh -c -A -N -R -S testlist/${{matrix.boards}}.dat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Post-build Disk Space
|
||||||
|
if: always()
|
||||||
|
run: df -h
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v5
|
- uses: actions/upload-artifact@v5
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user