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 2afb56cf ci: add arm64 linux pipeline (#2590)
2afb56cf is described below

commit 2afb56cfdb6ca7ef205d1c6f7635d444926bb5b4
Author: Twice <[email protected]>
AuthorDate: Sat Jan 18 21:47:13 2025 +0800

    ci: add arm64 linux pipeline (#2590)
    
    Co-authored-by: Aleks Lozovyuk <[email protected]>
---
 .github/workflows/kvrocks.yaml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index da2f1290..f7bfcc00 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -199,6 +199,10 @@ jobs:
             os: ubuntu-22.04
             compiler: clang
             new_encoding: -DENABLE_NEW_ENCODING=FALSE
+          - name: Ubuntu Arm64
+            os: ubuntu-24.04-arm
+            compiler: auto
+            arm_linux: true
 
     runs-on: ${{ matrix.os }}
     env:
@@ -212,11 +216,15 @@ jobs:
           echo "NPROC=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
           echo "CMAKE_EXTRA_DEFS=-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl" >> 
$GITHUB_ENV
       - name: Setup Linux
-        if: ${{ startsWith(matrix.os, 'ubuntu') }}
+        if: ${{ startsWith(matrix.os, 'ubuntu') || matrix.arm_linux }}
         run: |
           sudo apt update
           sudo apt install -y ninja-build
           echo "NPROC=$(nproc)" >> $GITHUB_ENV
+      - name: Setup Linux ARM64
+        if: ${{ matrix.arm_linux }}
+        run: |
+          sudo apt install -y git build-essential cmake libtool python3 
python3-pip libssl-dev
 
       - name: Cache redis
         id: cache-redis
@@ -245,6 +253,7 @@ jobs:
         with:
           fetch-depth: 0
       - uses: actions/setup-python@v5
+        if: ${{ !matrix.arm_linux }}
         with:
           python-version: 3.x
       - uses: actions/setup-go@v5

Reply via email to