From c6f362e05ea3ead40c311ab5e75154fa7c7f275d Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Tue, 7 Jan 2025 14:27:32 +0100 Subject: [PATCH] github: free some disc space We're getting GitHub workflow failures like: docker: failed to register layer: write /usr/lib/x86_64-linux-gnu/libz3.so.4: no space left on device. e.g. in https://github.com/thesofproject/sof/actions/runs/12651056289/job/35250849879?pr=9702 This patch frees some space before running tests. Signed-off-by: Guennadi Liakhovetski --- .github/workflows/zephyr.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index 51c0576f5743..b53fc367f5bd 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -138,6 +138,11 @@ jobs: filter: 'tree:0' path: ./workspace/sof + - name: free space + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + - name: west clones run: pip3 install west && cd workspace/sof/ && west init -l &&