This is an automated email from the ASF dual-hosted git repository.
earthchen pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.3 by this push:
new b54059dac4 Remove job native-image-inspecting from
build-and-test-scheduled-3.3.yml as action setup-graalvm was not allowed
anymore (#16166)
b54059dac4 is described below
commit b54059dac4ecadc46a65a2c0b3244589fb3892cb
Author: zrlw <[email protected]>
AuthorDate: Wed Mar 25 17:54:34 2026 +0800
Remove job native-image-inspecting from build-and-test-scheduled-3.3.yml as
action setup-graalvm was not allowed anymore (#16166)
---
.github/workflows/build-and-test-pr.yml | 58 ----------------------
.github/workflows/build-and-test-scheduled-3.3.yml | 56 ---------------------
2 files changed, 114 deletions(-)
diff --git a/.github/workflows/build-and-test-pr.yml
b/.github/workflows/build-and-test-pr.yml
index 529514886e..294ad4e0c6 100644
--- a/.github/workflows/build-and-test-pr.yml
+++ b/.github/workflows/build-and-test-pr.yml
@@ -651,61 +651,3 @@ jobs:
with:
name: "error-inspection-result"
path: ${{ github.workspace
}}/dubbo-test-tools/dubbo-error-code-inspector/error-inspection-result.txt
-
- native-image-inspecting:
- needs: check-format
- runs-on: ubuntu-22.04
- steps:
- - uses: actions/checkout@v4
- with:
- path: "./dubbo"
- - name: "Set up GraalVM environment"
- uses: graalvm/setup-graalvm@v1
- with:
- version: '22.3.0'
- java-version: '17'
- components: 'native-image'
- github-token: ${{ secrets.GITHUB_TOKEN }}
- native-image-job-reports: 'true'
- - name: "Set up Zookeeper environment"
- run: |
- wget -t 1 -T 120
https://archive.apache.org/dist/zookeeper/zookeeper-3.8.4/apache-zookeeper-3.8.4-bin.tar.gz
- tar -zxvf apache-zookeeper-3.8.4-bin.tar.gz
- mv apache-zookeeper-3.8.4-bin/conf/zoo_sample.cfg
apache-zookeeper-3.8.4-bin/conf/zoo.cfg
- apache-zookeeper-3.8.4-bin/bin/zkServer.sh start
- - name: "Check environment"
- run: |
- java --version
- native-image --version
- - name: "Set current date as env variable"
- run: echo "TODAY=$(date +'%Y%m%d')" >> $GITHUB_ENV
- - name: "Restore local Maven repository cache"
- uses: actions/cache/restore@v4
- with:
- path: ~/.m2/repository
- key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{
env.TODAY }}
- restore-keys: |
- ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- ${{ runner.os }}-maven-
- - name: "Compile Dubbo (Linux)"
- run: |
- cd ${{ github.workspace }}/dubbo
- ./mvnw ${{ env.MAVEN_ARGS }} -T 2C clean install -P skip-spotless
-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dcheckstyle_unix.skip=true
-Drat.skip=true
- - name: "Checkout dubbo-samples repository"
- uses: actions/checkout@v4
- with:
- repository: 'apache/dubbo-samples'
- ref: master
- path: "./dubbo-samples"
- - name: "Compile and run Dubbo native image demo"
- run: |
- MVNW="${{ github.workspace }}/dubbo-samples/mvnw ${{ env.MAVEN_ARGS
}} -Dmaven.test.skip=true"
- cd ${{ github.workspace
}}/dubbo-samples/2-advanced/dubbo-samples-native-image/dubbo-samples-native-image-provider
- $MVNW clean package -P native native:compile
- nohup ./target/dubbo-samples-native-image-provider &
- sleep 10
- curl \
- --header "Content-Type: application/json" \
- --data '{"name":"Dubbo"}' \
-
http://localhost:50052/org.apache.dubbo.nativeimage.DemoService/sayHello/
-
diff --git a/.github/workflows/build-and-test-scheduled-3.3.yml
b/.github/workflows/build-and-test-scheduled-3.3.yml
index 02c2cf201d..1eed25499f 100644
--- a/.github/workflows/build-and-test-scheduled-3.3.yml
+++ b/.github/workflows/build-and-test-scheduled-3.3.yml
@@ -489,59 +489,3 @@ jobs:
with:
name: "error-inspection-result"
path: ${{ github.workspace
}}/dubbo-test-tools/dubbo-error-code-inspector/error-inspection-result.txt
-
- native-image-inspecting:
- runs-on: ubuntu-22.04
- steps:
- - uses: actions/checkout@v4
- with:
- path: "./dubbo"
- - name: "Set up GraalVM environment"
- uses: graalvm/setup-graalvm@v1
- with:
- version: '22.3.0'
- java-version: '17'
- components: 'native-image'
- github-token: ${{ secrets.GITHUB_TOKEN }}
- native-image-job-reports: 'true'
- - name: "Set up Zookeeper environment"
- run: |
- wget -t 1 -T 120
https://archive.apache.org/dist/zookeeper/zookeeper-3.8.4/apache-zookeeper-3.8.4-bin.tar.gz
- tar -zxvf apache-zookeeper-3.8.4-bin.tar.gz
- mv apache-zookeeper-3.8.4-bin/conf/zoo_sample.cfg
apache-zookeeper-3.8.4-bin/conf/zoo.cfg
- apache-zookeeper-3.8.4-bin/bin/zkServer.sh start
- - name: "Check environment"
- run: |
- java --version
- native-image --version
- - name: "Set current date as env variable"
- run: echo "TODAY=$(date +'%Y%m%d')" >> $GITHUB_ENV
- - name: "Restore local Maven repository cache"
- uses: actions/cache/restore@v4
- with:
- path: ~/.m2/repository
- key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{
env.TODAY }}
- restore-keys: |
- ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- ${{ runner.os }}-maven-
- - name: "Compile Dubbo (Linux)"
- run: |
- cd ${{ github.workspace }}/dubbo
- ./mvnw ${{ env.MAVEN_ARGS }} -T 2C clean install -P skip-spotless
-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dcheckstyle_unix.skip=true
-Drat.skip=true
- - name: "Checkout dubbo-samples repository"
- uses: actions/checkout@v4
- with:
- repository: 'apache/dubbo-samples'
- ref: master
- path: "./dubbo-samples"
- - name: "Compile and run Dubbo native image demo"
- run: |
- MVNW="${{ github.workspace }}/dubbo-samples/mvnw ${{ env.MAVEN_ARGS
}} -Dmaven.test.skip=true"
- cd ${{ github.workspace
}}/dubbo-samples/2-advanced/dubbo-samples-native-image/dubbo-samples-native-image-provider
- $MVNW clean package -P native native:compile
- nohup ./target/dubbo-samples-native-image-provider &
- sleep 10
- curl \
- --header "Content-Type: application/json" \
- --data '{"name":"Dubbo"}' \
-
http://localhost:50052/org.apache.dubbo.nativeimage.DemoService/sayHello/