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

albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.2 by this push:
     new 6b60aa54bf Fix native image ci configuration
6b60aa54bf is described below

commit 6b60aa54bf0b9effd88d00896045d0f4f836bb25
Author: Albumen Kevin <[email protected]>
AuthorDate: Thu Sep 5 10:05:26 2024 +0800

    Fix native image ci configuration
---
 .github/workflows/build-and-test-scheduled-3.3.yml | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build-and-test-scheduled-3.3.yml 
b/.github/workflows/build-and-test-scheduled-3.3.yml
index 08673d0d56..3240efb8f8 100644
--- a/.github/workflows/build-and-test-scheduled-3.3.yml
+++ b/.github/workflows/build-and-test-scheduled-3.3.yml
@@ -490,13 +490,16 @@ jobs:
       - name: "Compile Dubbo (Linux)"
         run: |
           cd ${{ github.workspace }}/dubbo
-          ./mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C clean install -DskipTests=true -DskipIntegrationTests=true 
-Dcheckstyle.skip=true -Dcheckstyle_unix.skip=true -Drat.skip=true 
-Dmaven.javadoc.skip=true
+          ./mvnw ${{ env.MAVEN_ARGS }} -T 2C clean install -P 
'!demo',skip-spotless -Dmaven.test.skip=true -Dcheckstyle.skip=true 
-Dcheckstyle_unix.skip=true -Drat.skip=true
 
       - name: "Compile and run Dubbo demo for native (Linux)"
         run: |
-          cd ${{ github.workspace 
}}/dubbo/dubbo-demo/dubbo-demo-native/dubbo-demo-native-provider
-          ${{ github.workspace }}/dubbo/mvnw --batch-mode 
--no-snapshot-updates -e --no-transfer-progress --fail-fast -T 2C clean package 
-P native -Dmaven.test.skip=true native:compile
+          cd ${{ github.workspace 
}}/dubbo/dubbo-demo/dubbo-demo-native/dubbo-demo-native-interface
+          MVNW="${{ github.workspace }}/dubbo/mvnw ${{ env.MAVEN_ARGS }} -T 2C 
-Dmaven.test.skip=true"
+          $MVNW clean install
+          cd ../dubbo-demo-native-provider
+          $MVNW clean package -P native  native:compile
           nohup ./target/dubbo-demo-native-provider &
-          cd ${{ github.workspace 
}}/dubbo/dubbo-demo/dubbo-demo-native/dubbo-demo-native-consumer
-          ${{ github.workspace }}/dubbo/mvnw --batch-mode 
--no-snapshot-updates -e --no-transfer-progress --fail-fast -T 2C clean package 
-P native -Dmaven.test.skip=true native:compile
+          cd ../dubbo-demo-native-consumer
+          $MVNW clean package -P native native:compile
           ./target/dubbo-demo-native-consumer

Reply via email to