Skip to content

Commit

Permalink
ci: try to fix "No space left on device"
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Oct 29, 2023
1 parent 9c11e43 commit 2fac8f9
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,25 @@ jobs:
run: |
echo $BRANCH $VER $DT
- name: Setup cache
id: cache
uses: actions/cache@v2
with:
path: ~/.buildroot-ccache
key: ${{ runner.os }}-ccache-buildroot
restore-keys: |
${{ runner.os }}-ccache-buildroot
- name: cleanup
run: |
df -h
du -h --max-depth=2
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
ls -lah "$AGENT_TOOLSDIRECTORY"
#sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
# - name: Setup cache
# id: cache
# uses: actions/cache@v2
# with:
# path: ~/.buildroot-ccache
# key: ${{ runner.os }}-ccache-buildroot
# restore-keys: |
# ${{ runner.os }}-ccache-buildroot

- name: build for bpi-r2
run: |
Expand Down

0 comments on commit 2fac8f9

Please sign in to comment.