From 2fac8f99a3f337b6671875d194640ee4b254616c Mon Sep 17 00:00:00 2001 From: Frank Wunderlich Date: Sun, 29 Oct 2023 13:10:55 +0100 Subject: [PATCH] ci: try to fix "No space left on device" --- .github/workflows/build.yml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d889cdebc5cb..3c04ee74db16 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |