This is an automated email from the ASF dual-hosted git repository.

twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new cbaf4fd9f ci: apply maximizing build space step to all linux build 
jobs (#3292)
cbaf4fd9f is described below

commit cbaf4fd9f3a4265d6d4d1c8f63612d557d02a6a6
Author: Twice <[email protected]>
AuthorDate: Sat Dec 13 17:26:20 2025 +0800

    ci: apply maximizing build space step to all linux build jobs (#3292)
    
    This should solve https://github.com/apache/kvrocks/issues/3290.
---
 .github/workflows/kvrocks.yaml | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 34ae32790..d66b67b26 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -240,7 +240,7 @@ jobs:
       RISCV_PATH: "/opt/riscv"
     steps:
       - name: Maximize build space
-        if: ${{ matrix.riscv_toolchain }}
+        if: ${{ startsWith(matrix.os, 'ubuntu') }}
         run: |
           # refer to https://github.com/easimon/maximize-build-space,
           # we take some ideas from this action but don't use it directly.
@@ -503,10 +503,9 @@ jobs:
           - name: ArchLinux
             image: archlinux:base
             compiler: gcc
-          # FIXME: disable it due to "No space left on device" issue
-          # - name: Rocky Linux 8
-          #   image: rockylinux:8
-          #   compiler: gcc
+          - name: Rocky Linux 8
+            image: rockylinux:8
+            compiler: gcc
           - name: Rocky Linux 9
             image: rockylinux:9
             compiler: gcc
@@ -521,7 +520,16 @@ jobs:
     runs-on: ubuntu-22.04
     container:
       image: ${{ matrix.image }}
+      volumes:
+        - /usr/local/lib/android:/usr-local-lib-android
+        - /usr/share/dotnet:/usr-share-dotnet
     steps:
+      - name: Maximize build space
+        run: |
+          df -h
+          rm -rf /usr-local-lib-android/*
+          rm -rf /usr-share-dotnet/*
+          df -h
       - name: Setup ArchLinux
         if: ${{ startsWith(matrix.image, 'archlinux') }}
         run: |

Reply via email to