From 31acf6453380abec1cbb956c514cdf8d690df66a Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen Date: Tue, 14 Oct 2025 15:30:53 +0200 Subject: [PATCH] CI: fix No space left on device message Add jlumbroso/free-disk-space action to clean-up the workspace before running action. Signed-off-by: Arnaud Pouliquen --- .github/workflows/continuous-integration.yml | 12 ++++++++++++ .github/workflows/heathcheck.yml | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 028f7bc..5f221da 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -54,6 +54,18 @@ jobs: name: Zephyr build with a version that is known to work runs-on: ubuntu-latest steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true - name: Checkout open-amp uses: actions/checkout@v4 with: diff --git a/.github/workflows/heathcheck.yml b/.github/workflows/heathcheck.yml index 054fdad..5b48de2 100644 --- a/.github/workflows/heathcheck.yml +++ b/.github/workflows/heathcheck.yml @@ -27,6 +27,18 @@ jobs: name: 'Zephyr build from latest on main' runs-on: ubuntu-latest steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true - name: Checkout open-amp uses: actions/checkout@v4 with: