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

jianbin pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.x by this push:
     new eea9b9d2d9 optimize:  change build_arm64-binary CI to JDK25 Version 
and runs on ubuntu-24.04-arm (#7868)
eea9b9d2d9 is described below

commit eea9b9d2d97c531fa2bb78216b5ea1ed6809b8df
Author: 徐博 洪 <[email protected]>
AuthorDate: Tue Dec 16 21:42:56 2025 +0800

    optimize:  change build_arm64-binary CI to JDK25 Version and runs on 
ubuntu-24.04-arm (#7868)
---
 .github/workflows/build.yml | 36 +++++++++++++++---------------------
 changes/en-us/2.x.md        |  2 +-
 changes/zh-cn/2.x.md        |  1 +
 3 files changed, 17 insertions(+), 22 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1fff81adee..db4180865e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,7 +26,7 @@ on:
       - '**.md'
 
 jobs:
-  # job 1: Test based on java 8, 17 and 21.
+  # job 1: Test based on java 8, 17, 21 and 25.
   build:
     name: "build"
     services:
@@ -116,9 +116,9 @@ jobs:
         env:
           CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
 
-  # job 2: Build on 'arm64v8/ubuntu' OS (Skip tests).
+  # job 2: Build and Release on 'arm64v8/ubuntu' OS (Skip tests).
   build_arm64-binary:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04-arm
     if: ${{ github.event_name == 'push' && (github.ref_name == 'develop' || 
github.ref_name == 'snapshot' || github.ref_name == '2.x') }}
     strategy:
       fail-fast: false
@@ -127,24 +127,18 @@ jobs:
       - name: "Checkout"
         uses: actions/checkout@v3
       # step 2
-      - name: "Set up QEMU"
-        id: qemu
-        uses: docker/setup-qemu-action@v3
+      - name: "Set up Java JDK 25"
+        uses: actions/[email protected]
         with:
-          platforms: arm64
-      - name: "Set up Docker Buildx"
-        uses: docker/setup-buildx-action@v3
+          distribution: 'zulu'
+          java-version: 25
+      # step 4
+      - name: "Print maven version"
+        run: ./mvnw -version
       # step 3
-      - name: "Build with Maven on 'arm64v8/ubuntu:20.04' OS (Skip tests)"
+      - name: "Build with Maven on 'ubuntu:24.04-arm' OS (Skip tests)"
         run: |
-          docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \
-            --platform linux/arm64 arm64v8/ubuntu:20.04 \
-            bash -exc 'apt-get update -y && \
-                       apt-get install maven -y && \
-                       apt-get install -y python3 python3-pip 
python3-distutils && \
-                       apt-get install -y build-essential && \
-                       mvn -version && \
-                       mvn clean install \
-                           -Prelease-seata \
-                           -DskipTests \
-                           -e -B 
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
+          ./mvnw -T 4C clean install \
+              -Prelease-seata \
+              -DskipTests \
+              -e -B 
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 4f03dc2220..2ead074bdf 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -92,7 +92,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#7813](https://github.com/apache/incubator-seata/pull/7813)] add decode 
buffer limit
 - [[#7829](https://github.com/apache/incubator-seata/pull/7829)] optimize lz4 
compressor
 - [[#7864](https://github.com/apache/incubator-seata/pull/7864)] automatically 
skip the compilation of console and namingserver modules in JDK<25
-
+- [[#7868](https://github.com/apache/incubator-seata/pull/7868)] change 
build_arm64-binary CI to JDK25 Version and runs on ubuntu-24.04-arm
 
 
 ### security:
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index fe38686de6..ebe102dc83 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -90,6 +90,7 @@
 - [[#7813](https://github.com/apache/incubator-seata/pull/7813)] 增加解码buffer限制
 - [[#7829](https://github.com/apache/incubator-seata/pull/7829)] 优化lz4 
compressor
 - [[#7864](https://github.com/apache/incubator-seata/pull/7864)] 
自动跳过JDK<25环境下的console和namingserver模块编译
+- [[#7868](https://github.com/apache/incubator-seata/pull/7868)] 
将build_arm64-binary的CI更改为JDK25版本,并运行于ubuntu-24.04-arm
 
 
 ### security:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to